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>
This commit is contained in:
Rob Clark
2018-08-10 09:13:47 -04:00
parent b5a098b202
commit 4a7f9feada
3 changed files with 8 additions and 0 deletions

View File

@@ -601,6 +601,12 @@ typedef enum
*/
SYSTEM_VALUE_VERTEX_CNT,
/**
* Driver internal varying-coord, used for varying-fetch instructions.
* Not externally visible.
*/
SYSTEM_VALUE_VARYING_COORD,
SYSTEM_VALUE_MAX /**< Number of values */
} gl_system_value;