diff options
author | Samuel Pitoiset <[email protected]> | 2020-01-27 18:45:26 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-29 09:49:50 +0000 |
commit | 15d53d8294bf5cfd0685422de99e8398bb52fdb8 (patch) | |
tree | c3833e0407b299d83e2194110d5a1c844fcee206 /src/compiler/shader_enums.c | |
parent | 5c053cc6ec310481e61631515e0ae7044faf9335 (diff) |
compiler: add PERSP to the existing barycentric system values
We need the LINEAR versions for AMD_shader_explicit_vertex_parameter.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3578>
Diffstat (limited to 'src/compiler/shader_enums.c')
-rw-r--r-- | src/compiler/shader_enums.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/shader_enums.c b/src/compiler/shader_enums.c index 90b9881ff78..6f61728032a 100644 --- a/src/compiler/shader_enums.c +++ b/src/compiler/shader_enums.c @@ -250,10 +250,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_BARYCENTRIC_PIXEL), - ENUM(SYSTEM_VALUE_BARYCENTRIC_SAMPLE), - ENUM(SYSTEM_VALUE_BARYCENTRIC_CENTROID), - ENUM(SYSTEM_VALUE_BARYCENTRIC_SIZE), + ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL), + ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_SAMPLE), + ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID), + ENUM(SYSTEM_VALUE_BARYCENTRIC_PERSP_SIZE), ENUM(SYSTEM_VALUE_GS_HEADER_IR3), ENUM(SYSTEM_VALUE_TCS_HEADER_IR3), }; |