From bb41d9a1d30c243b8690165cd465c53517c6a35d Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 21 Mar 2017 15:22:10 -0700 Subject: compiler: Add a system value and varying for ViewIndex Reviewed-by: Iago Toral Quiroga Reviewed-by: Bas Nieuwenhuizen --- src/mesa/program/prog_print.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/program/prog_print.c') 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]", -- cgit v1.2.3