summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-11-15 10:02:47 +1000
committerDave Airlie <[email protected]>2017-11-17 11:31:41 +1000
commitf94f5c9a9f7a41f688659450d52e19e8295fce4a (patch)
treea3509a97f1c1e5045d27af6fad5e1b27b926a68a
parentaa38bf658f1e0dd166b3ce12025533775f373788 (diff)
r600/sb: disable SB for images.
Until we can work further on sb, disable it for images for now. Tested-By: Gert Wollny <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/gallium/drivers/r600/r600_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index f508774ed0c..b83ca119822 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) {