aboutsummaryrefslogtreecommitdiff
path: root/mp/src/materialsystem/stdshaders/cpp_shader_constant_register_map.h
blob: a89e8eae3b9b11d558a4ed043c072b27e355702f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Provide convenient mapping for shader constants
//
// $NoKeywords: $
//=============================================================================

#define C_CODE_HACK
#include "shader_constant_register_map.h"
#undef C_CODE_HACK

// For the C code, map the above file's defines back to integers...
#define PSREG_CONSTANT_00	0
#define PSREG_CONSTANT_01	1
#define PSREG_CONSTANT_02	2
#define PSREG_CONSTANT_03	3
#define PSREG_CONSTANT_04	4
#define PSREG_CONSTANT_05	5
#define PSREG_CONSTANT_06	6
#define PSREG_CONSTANT_07	7
#define PSREG_CONSTANT_08	8
#define PSREG_CONSTANT_09	9
#define PSREG_CONSTANT_10	10
#define PSREG_CONSTANT_11	11
#define PSREG_CONSTANT_12	12
#define PSREG_CONSTANT_13	13
#define PSREG_CONSTANT_14	14
#define PSREG_CONSTANT_15	15
#define PSREG_CONSTANT_16	16
#define PSREG_CONSTANT_17	17
#define PSREG_CONSTANT_18	18
#define PSREG_CONSTANT_19	19
#define PSREG_CONSTANT_20	20
#define PSREG_CONSTANT_21	21
#define PSREG_CONSTANT_22	22
#define PSREG_CONSTANT_23	23
#define PSREG_CONSTANT_24	24
#define PSREG_CONSTANT_25	25
#define PSREG_CONSTANT_26	26
#define PSREG_CONSTANT_27	27
#define PSREG_CONSTANT_28	28
#define PSREG_CONSTANT_29	29
#define PSREG_CONSTANT_30	30
#define PSREG_CONSTANT_31	31