diff options
author | Rob Clark <[email protected]> | 2018-08-10 09:13:47 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-08-14 17:59:02 -0400 |
commit | 4a7f9feadab2435f25427345070262fcc719e7f3 (patch) | |
tree | 10c3d38384cb427e005b851252726d42efcc5691 /src/compiler/shader_enums.c | |
parent | b5a098b20209305bf0929403915f63106cbe0abd (diff) |
compiler: add SYSTEM_VALUE_VARYING_COORD
Used internally in freedreno/ir3 for the vec2 value that hw passes to
shader to use as coordinate for bary.f (varying fetch) instruction.
This is not the same as SYSTEM_VALUE_FRAG_COORD.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.c')
-rw-r--r-- | src/compiler/shader_enums.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.c b/src/compiler/shader_enums.c index a874083a0b7..0210b503d3f 100644 --- a/src/compiler/shader_enums.c +++ b/src/compiler/shader_enums.c @@ -244,6 +244,7 @@ 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), }; STATIC_ASSERT(ARRAY_SIZE(names) == SYSTEM_VALUE_MAX); return NAME(sysval); |