VCS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
SirYodaJedi (talk | contribs) (Add category) |
||
| Line 26: | Line 26: | ||
{{todo|Details of the rest}} | {{todo|Details of the rest}} | ||
[[Category:File formats]] | |||
Revision as of 09:47, 10 February 2025
The Valve Compiled Shader (.vcs) file format stores all shader bytecode for a given pixel or vertex shader.
Format
Some of the structure is publicly available in the SDK.
Header
| Type | Meaning | Description |
|---|---|---|
| int32 | Version | 1 to 6. Version 6 is the latest and most common one |
| int32 | Total Combos | |
| int32 | Dynamic Combo Count | |
| uint32 | Flags | |
| uint32 | Centroid Mask | |
| uint32 | Static Combo Count | |
| uint32 | Source CRC32 | CRC32 checksum of the original source file |
Todo: Details of the rest