summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-01-23 11:43:04 -0800
committerMarge Bot <eric+marge@anholt.net>2020-07-23 00:24:26 +0000
commit8e61fd92d4ac415770a173fd1a51c77761f72775 (patch)
tree438947a5d9cb90c3d1b1c9d59c60ad6359178348 /src/gallium/drivers/softpipe
parent259a03b4f0b04903d348a38bccc8954ef9f83738 (diff)
softpipe: Enable PIPE_CAP_TGSI_TEXCOORD.
The tgsi_exec path can handle it, and otherwise when we start using NIR our MAX_VARYINGS value will cause us to have VARYING_SLOT_VARx above the maximum. Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6018>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 7066e2f0b51..9e974ae8893 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -253,6 +253,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_CULL_DISTANCE:
case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS:
case PIPE_CAP_TGSI_ARRAY_COMPONENTS:
+ case PIPE_CAP_TGSI_TEXCOORD:
return 1;
case PIPE_CAP_CLEAR_TEXTURE:
return 1;