aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-03-21 15:22:10 -0700
committerJason Ekstrand <[email protected]>2017-05-03 11:25:46 -0700
commitbb41d9a1d30c243b8690165cd465c53517c6a35d (patch)
tree0eb82dba200451d632bdd273b76f97b115c5f8d4 /src/mesa/program
parentfcf941068e67ca0483dc453dd27992e2cd27ea21 (diff)
compiler: Add a system value and varying for ViewIndex
Reviewed-by: Iago Toral Quiroga <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/prog_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index 6d04a382865..b32ce150da3 100644
--- a/src/mesa/program/prog_print.c
+++ b/src/mesa/program/prog_print.c
@@ -153,6 +153,7 @@ arb_input_attrib_string(GLuint index, GLenum progType)
"fragment.(twenty-seven)", /* VARYING_SLOT_CULL_DIST1 */
"fragment.(twenty-eight)", /* VARYING_SLOT_BOUNDING_BOX0 */
"fragment.(twenty-nine)", /* VARYING_SLOT_BOUNDING_BOX1 */
+ "fragment.(thirty)", /* VARYING_SLOT_VIEW_INDEX */
"fragment.varying[0]",
"fragment.varying[1]",
"fragment.varying[2]",
@@ -284,6 +285,7 @@ arb_output_attrib_string(GLuint index, GLenum progType)
"result.(twenty-seven)", /* VARYING_SLOT_CULL_DIST1 */
"result.(twenty-eight)", /* VARYING_SLOT_BOUNDING_BOX0 */
"result.(twenty-nine)", /* VARYING_SLOT_BOUNDING_BOX1 */
+ "result.(thirty)", /* VARYING_SLOT_VIEW_INDEX */
"result.varying[0]",
"result.varying[1]",
"result.varying[2]",