summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2021-06-10 08:30:44 +1000
committerMarge Bot <eric+marge@anholt.net>2021-06-10 02:37:19 +0000
commitf05dfddeb1adad9f6d4ca18f5e066b3ae23d3e28 (patch)
tree0f5fe6bfe4b250f65fe3b5c6b15470acea8a6537
parent7e07f7f900dbef2c1e28ff0d90e1beb73016097a (diff)
u_blitter: fix stencil blit fallback for crocus.
crocus needs the sampler view decl to know it's a uint return value. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11280>
-rw-r--r--src/gallium/auxiliary/util/u_simple_shaders.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.c b/src/gallium/auxiliary/util/u_simple_shaders.c
index d2f77c47520..aaaa0434804 100644
--- a/src/gallium/auxiliary/util/u_simple_shaders.c
+++ b/src/gallium/auxiliary/util/u_simple_shaders.c
@@ -1173,6 +1173,7 @@ util_make_fs_stencil_blit(struct pipe_context *pipe, bool msaa_src)
"FRAG\n"
"DCL IN[0], GENERIC[0], LINEAR\n"
"DCL SAMP[0]\n"
+ "DCL SVIEW[0], 2D, UINT\n"
"DCL CONST[0][0]\n"
"DCL TEMP[0]\n"