compiler: add PERSP to the existing barycentric system values
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Jan 2020 17:45:26 +0000 (18:45 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 09:49:50 +0000 (09:49 +0000)
commit15d53d8294bf5cfd0685422de99e8398bb52fdb8
treec3833e0407b299d83e2194110d5a1c844fcee206
parent5c053cc6ec310481e61631515e0ae7044faf9335
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3578>
src/compiler/shader_enums.c
src/compiler/shader_enums.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_depth.c
src/freedreno/ir3/ir3_shader.c
src/freedreno/vulkan/tu_pipeline.c
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a5xx/fd5_program.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp