summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-07-27 11:53:32 -0600
committerBrian Paul <[email protected]>2018-08-08 08:20:10 -0600
commita45b49570092357a78a2f53b0c53de46bbf87e29 (patch)
tree591564916325cc368b96690ed14619a1099eb2a1 /src/gallium
parent92e7342a6f08ddca4c51f2ab74a5383683a65a60 (diff)
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 <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_swtnl_state.c1
1 files changed, 1 insertions, 0 deletions
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: