Mesa (main): u_blitter: fix stencil blit fallback for crocus.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 10 02:56:50 UTC 2021


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

Author: Dave Airlie <airlied at gmail.com>
Date:   Thu Jun 10 08:30:44 2021 +1000

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 at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11280>

---

 src/gallium/auxiliary/util/u_simple_shaders.c | 1 +
 1 file changed, 1 insertion(+)

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"
 



More information about the mesa-commit mailing list