r600/sb: disable SB for images.
authorDave Airlie <airlied@redhat.com>
Wed, 15 Nov 2017 00:02:47 +0000 (10:02 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 17 Nov 2017 01:31:41 +0000 (11:31 +1000)
Until we can work further on sb, disable it for images for now.

Tested-By: Gert Wollny <gw.fossdev@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c

index f508774ed0c23cece0cbe5c0dadc3b669f6078f4..b83ca119822c9d85f531b837c1eef219ae1b5121 100644 (file)
@@ -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) {