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

Author: Dave Airlie <airl...@redhat.com>
Date:   Wed Nov 15 10:02:47 2017 +1000

r600/sb: disable SB for images.

Until we can work further on sb, disable it for images for now.

Tested-By: Gert Wollny <gw.foss...@gmail.com>
Signed-off-by: Dave Airlie <airl...@redhat.com>

---

 src/gallium/drivers/r600/r600_shader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/r600_shader.c 
b/src/gallium/drivers/r600/r600_shader.c
index f508774ed0..b83ca11982 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -195,6 +195,7 @@ int r600_pipe_shader_create(struct pipe_context *ctx,
        use_sb &= !shader->shader.uses_doubles;
 
        use_sb &= !shader->shader.uses_atomics;
+       use_sb &= !shader->shader.uses_images;
 
        /* Check if the bytecode has already been built. */
        if (!shader->shader.bc.bytecode) {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to