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

Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Sep 24 15:53:44 2021 -0400

zink: stop setting nr_samples for shader image surface creation

that's not what this should be used for

Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12934>

---

 src/gallium/drivers/zink/zink_context.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_context.c 
b/src/gallium/drivers/zink/zink_context.c
index 6dbd2bbe131..06a642c38ec 100644
--- a/src/gallium/drivers/zink/zink_context.c
+++ b/src/gallium/drivers/zink/zink_context.c
@@ -1316,7 +1316,6 @@ zink_set_shader_images(struct pipe_context *pctx,
          } else {
             struct pipe_surface tmpl = {0};
             tmpl.format = images[i].format;
-            tmpl.nr_samples = 1;
             tmpl.u.tex.level = images[i].u.tex.level;
             tmpl.u.tex.first_layer = images[i].u.tex.first_layer;
             tmpl.u.tex.last_layer = images[i].u.tex.last_layer;

Reply via email to