diff options
author | Rob Clark <[email protected]> | 2019-04-03 19:55:34 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-25 14:13:31 -0700 |
commit | 4d08c1b595e36c0a8f64410b7328fc0c9b6cbeb6 (patch) | |
tree | 6dcbee3d7ab1839718d83d5f2eeadcd96f1de819 /src/compiler/shader_enums.c | |
parent | 96d2e4ab8ad394a4c3e8d315880b7af7a0cc824c (diff) |
compiler: rename SYSTEM_VALUE_VARYING_COORD
And add corresponding enums for different sorts of varying
interpolation.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.c')
-rw-r--r-- | src/compiler/shader_enums.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/shader_enums.c b/src/compiler/shader_enums.c index 15ab6d81dae..451f1b758de 100644 --- a/src/compiler/shader_enums.c +++ b/src/compiler/shader_enums.c @@ -247,7 +247,10 @@ gl_system_value_name(gl_system_value sysval) ENUM(SYSTEM_VALUE_DEVICE_INDEX), ENUM(SYSTEM_VALUE_VIEW_INDEX), ENUM(SYSTEM_VALUE_VERTEX_CNT), - ENUM(SYSTEM_VALUE_VARYING_COORD), + ENUM(SYSTEM_VALUE_BARYCENTRIC_PIXEL), + ENUM(SYSTEM_VALUE_BARYCENTRIC_SAMPLE), + ENUM(SYSTEM_VALUE_BARYCENTRIC_CENTROID), + ENUM(SYSTEM_VALUE_BARYCENTRIC_SIZE), }; STATIC_ASSERT(ARRAY_SIZE(names) == SYSTEM_VALUE_MAX); return NAME(sysval); |