You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
5 years ago
|
//========= 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
|
||
|
|