svga: Fix vertex-fallbacks Piglit test
This test was hitting an assert because gl_PrimitiveID is an input to the FS that does not come from the VS which should be handled similar to TGSI_SEMANTIC_FACE. Signed-off-by: Ian Forbes <ian.forbes@broadcom.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38834>
This commit is contained in:
@@ -272,6 +272,7 @@ svga_swtnl_update_vdecl(struct svga_context *svga)
|
||||
break;
|
||||
case TGSI_SEMANTIC_POSITION:
|
||||
case TGSI_SEMANTIC_FACE:
|
||||
case TGSI_SEMANTIC_PRIMID:
|
||||
/* generated internally, not a vertex shader output */
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user