[Mesa-dev] [PATCH v3 03/11] mesa/prog: Add varyings for arb_cull_distance

Tobias Klausmann tobias.johannes.klausmann at mni.thm.de
Sun May 8 20:44:03 UTC 2016


Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mesa/program/prog_print.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index 08381b4..755d644 100644
--- a/src/mesa/program/prog_print.c
+++ b/src/mesa/program/prog_print.c
@@ -149,6 +149,8 @@ arb_input_attrib_string(GLuint index, GLenum progType)
       "fragment.(twenty-three)", /* VARYING_SLOT_PNTC */
       "fragment.(twenty-four)", /* VARYING_SLOT_TESS_LEVEL_OUTER */
       "fragment.(twenty-five)", /* VARYING_SLOT_TESS_LEVEL_INNER */
+      "fragment.(twenty-six)", /* VARYING_SLOT_CULL_DIST0 */
+      "fragment.(twenty-seven)", /* VARYING_SLOT_CULL_DIST1 */
       "fragment.varying[0]",
       "fragment.varying[1]",
       "fragment.varying[2]",
@@ -276,6 +278,8 @@ arb_output_attrib_string(GLuint index, GLenum progType)
       "result.(twenty-three)", /* VARYING_SLOT_PNTC */
       "result.(twenty-four)", /* VARYING_SLOT_TESS_LEVEL_OUTER */
       "result.(twenty-five)", /* VARYING_SLOT_TESS_LEVEL_INNER */
+      "result.(twenty-six)", /* VARYING_SLOT_CULL_DIST0 */
+      "result.(twenty-seven)", /* VARYING_SLOT_CULL_DIST1 */
       "result.varying[0]",
       "result.varying[1]",
       "result.varying[2]",
-- 
2.8.2



More information about the mesa-dev mailing list