summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.c
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2013-08-24 00:54:54 +0400
committerVadim Girlin <[email protected]>2013-08-30 15:51:11 +0400
commitf7217b99f243738f941a5d009c68387dfadcb50a (patch)
treea19e2b6e8582ce2c7f7c1c853986c7adce2ad5c0 /src/gallium/drivers/r600/r600_asm.c
parent29ff2e907d6c54f95be6dfa72201fd25bbd50fcd (diff)
r600g: enable SB backend by default
Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Tom Stellard <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.c')
-rw-r--r--src/gallium/drivers/r600/r600_asm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index b8eedae457b..a0492a66e19 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -2281,7 +2281,8 @@ void *r600_create_vertex_fetch_shader(struct pipe_context *ctx,
uint32_t *bytecode;
int i, j, r, fs_size;
struct r600_fetch_shader *shader;
- unsigned sb_disasm = rctx->screen->debug_flags & (DBG_SB_DISASM | DBG_SB);
+ unsigned no_sb = rctx->screen->debug_flags & DBG_NO_SB;
+ unsigned sb_disasm = !no_sb || (rctx->screen->debug_flags & DBG_SB_DISASM);
assert(count < 32);