summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.h
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2019-05-27 17:48:42 +0200
committerConnor Abbott <[email protected]>2019-07-08 14:18:34 +0200
commite5536aa584e91d2a859c2f905d9ce40fc410470b (patch)
treeda23a47a2f5c32c565f1e6dbe9acb34c0c988819 /src/compiler/shader_enums.h
parent118a66df9907772bb9e5503b736c95d7bb62d52c (diff)
compiler: Add color system value
This is nice to have with radeonsi, where color varyings are handled specially to avoid recompiles. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
-rw-r--r--src/compiler/shader_enums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index cf753df3791..4d5af8a815b 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -580,6 +580,8 @@ typedef enum
SYSTEM_VALUE_SAMPLE_POS,
SYSTEM_VALUE_SAMPLE_MASK_IN,
SYSTEM_VALUE_HELPER_INVOCATION,
+ SYSTEM_VALUE_COLOR0,
+ SYSTEM_VALUE_COLOR1,
/*@}*/
/**