From: Brian Paul Date: Fri, 27 Jul 2018 17:53:32 +0000 (-0600) Subject: svga: add TGSI_SEMANTIC_FACE switch case in svga_swtnl_update_vdecl() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a45b49570092357a78a2f53b0c53de46bbf87e29;p=mesa.git svga: add TGSI_SEMANTIC_FACE switch case in svga_swtnl_update_vdecl() Fixes failed assertion running Piglit polygon-mode-face test. Though, the test still does not pass. Reviewed-by: Neha Bhende Reviewed-by: Charmaine Lee --- diff --git a/src/gallium/drivers/svga/svga_swtnl_state.c b/src/gallium/drivers/svga/svga_swtnl_state.c index 06a9be8b9d6..816fef1c4ea 100644 --- a/src/gallium/drivers/svga/svga_swtnl_state.c +++ b/src/gallium/drivers/svga/svga_swtnl_state.c @@ -288,6 +288,7 @@ svga_swtnl_update_vdecl(struct svga_context *svga) nr_decls++; break; case TGSI_SEMANTIC_POSITION: + case TGSI_SEMANTIC_FACE: /* generated internally, not a vertex shader output */ break; default: