VCS
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
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