From: Gert Wollny Date: Tue, 17 Dec 2019 20:30:16 +0000 (+0100) Subject: gallium: tgsi_from_mesa - handle VARYING_SLOT_FACE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=570a6c6c79ee0217b17220acd28af619794c8bbf;p=mesa.git gallium: tgsi_from_mesa - handle VARYING_SLOT_FACE Signed-off-by: Gert Wollny Reviewed-by: Eric Anholt Part-of: --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c index 659156b5190..19384cf4b27 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c +++ b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c @@ -123,6 +123,10 @@ tgsi_get_gl_varying_semantic(gl_varying_slot attr, *semantic_name = TGSI_SEMANTIC_VIEWPORT_INDEX; *semantic_index = 0; break; + case VARYING_SLOT_FACE: + *semantic_name = TGSI_SEMANTIC_FACE; + *semantic_index = 0; + break; case VARYING_SLOT_PNTC: *semantic_name = TGSI_SEMANTIC_PCOORD; *semantic_index = 0;