svga: add TGSI_SEMANTIC_FACE switch case in svga_swtnl_update_vdecl()
authorBrian Paul <brianp@vmware.com>
Fri, 27 Jul 2018 17:53:32 +0000 (11:53 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 8 Aug 2018 14:20:10 +0000 (08:20 -0600)
Fixes failed assertion running Piglit polygon-mode-face test.
Though, the test still does not pass.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_swtnl_state.c

index 06a9be8b9d65a21b493227d9de8049da3d842686..816fef1c4ea4ec8c26a932754cb184e00f263807 100644 (file)
@@ -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: