summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_from_mesa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
index 31be7d946b7..c014115918e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
@@ -127,6 +127,14 @@ tgsi_get_gl_varying_semantic(gl_varying_slot attr,
*semantic_name = TGSI_SEMANTIC_PCOORD;
*semantic_index = 0;
break;
+ case VARYING_SLOT_TESS_LEVEL_OUTER:
+ *semantic_name = TGSI_SEMANTIC_TESSOUTER;
+ *semantic_index = 0;
+ break;
+ case VARYING_SLOT_TESS_LEVEL_INNER:
+ *semantic_name = TGSI_SEMANTIC_TESSINNER;
+ *semantic_index = 0;
+ break;
case VARYING_SLOT_TEX0:
case VARYING_SLOT_TEX1: