VCS Format (Shaders) - SourceCE/Source-SP GitHub Wiki

Version 6:

struct ShaderHeader_t
{
	int32	m_nVersion; // currently version 6
	int32	m_nTotalCombos;
	int32	m_nDynamicCombos;
	uint32	m_nFlags;
	uint32	m_nCentroidMask;
	uint32	m_nNumStaticCombos; // includes sentinal key
	uint32	m_nSourceCRC32;
};

// record for one static combo
struct StaticComboRecord_t
{
	uint32 m_nStaticComboID;
	uint32 m_nFileOffset; // offset for hlsl bytecode
};

// for duplicate static combos
struct StaticComboAliasRecord_t
{
	uint32 m_nStaticComboID;
	uint32 m_nSourceStaticCombo; // ID of the combo this is a duplicate of
};