Module: Mesa
Branch: master
Commit: a45b49570092357a78a2f53b0c53de46bbf87e29
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a45b49570092357a78a2f53b0c53de46bbf87e29

Author: Brian Paul <[email protected]>
Date:   Fri Jul 27 11:53:32 2018 -0600

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]>

---

 src/gallium/drivers/svga/svga_swtnl_state.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/svga/svga_swtnl_state.c 
b/src/gallium/drivers/svga/svga_swtnl_state.c
index 06a9be8b9d..816fef1c4e 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:

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to