From: Timothy Arceri Date: Mon, 13 Nov 2017 01:43:36 +0000 (+1100) Subject: gallium/tgsi: add tess output supoort to tgsi_get_gl_varying_semantic() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc308122ccfc1903276bc8f0ab40b07175929527;p=mesa.git gallium/tgsi: add tess output supoort to tgsi_get_gl_varying_semantic() Reviewed-by: Nicolai Hähnle --- 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: