[Mesa-dev] [PATCH 08/11] r600/sb: disable SB for images.

Dave Airlie airlied at gmail.com
Wed Nov 15 00:11:09 UTC 2017


From: Dave Airlie <airlied at redhat.com>

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

Signed-off-by: Dave Airlie <airlied at 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 d7cb52e..17b0099 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) {
-- 
2.9.5



More information about the mesa-dev mailing list