compiler: add SYSTEM_VALUE_VARYING_COORD
authorRob Clark <robdclark@gmail.com>
Fri, 10 Aug 2018 13:13:47 +0000 (09:13 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 14 Aug 2018 21:59:02 +0000 (17:59 -0400)
commit4a7f9feadab2435f25427345070262fcc719e7f3
tree10c3d38384cb427e005b851252726d42efcc5691
parentb5a098b20209305bf0929403915f63106cbe0abd
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 <robdclark@gmail.com>
src/compiler/shader_enums.c
src/compiler/shader_enums.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp