svga/nir: enable PIPE_CAP_TGSI_TEXCOORD

Use texcoord semantic instead of generic with nir.
Fixes assert in nir_gather_info with offsetted varying slots.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16414>
This commit is contained in:
Charmaine Lee 2022-05-09 15:07:13 -07:00 committed by Marge Bot
parent a8b009aed6
commit 0d456315f9
1 changed files with 2 additions and 0 deletions

View File

@ -466,6 +466,8 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 1;
case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR:
return 1;
case PIPE_CAP_TGSI_TEXCOORD:
return 1;
case PIPE_CAP_IMAGE_STORE_FORMATTED:
return sws->have_gl43;
default: