summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a3xx
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-02-03 11:28:30 -0500
committerRob Clark <[email protected]>2014-02-03 18:26:53 -0500
commit1b886078dbff593ceb23b05b3ce78a3bb3cbcb94 (patch)
tree2dc8aa5fdcbc8ec2b3ccac10402714bee8d28bc7 /src/gallium/drivers/freedreno/a3xx
parent554f1ac00c43f4503b923e1a129c0039468dcb82 (diff)
freedreno: enabling binning and opt by default
Hw binning pass doesn't seem to have broken anything. And optimizing compiler fixes a lot of shaders and doesn't seem to break anything. So re-org slightly FD_MESA_DEBUG params and make both hw binning and optimizer enabled by default. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_program.c b/src/gallium/drivers/freedreno/a3xx/fd3_program.c
index 793e703b726..b4c089cce6a 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_program.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_program.c
@@ -107,7 +107,7 @@ create_shader(struct pipe_context *pctx, const struct pipe_shader_state *cso,
so->half_precision = true;
- if (fd_mesa_debug & FD_DBG_OPTIMIZE) {
+ if (!(fd_mesa_debug & FD_DBG_NOOPT)) {
ret = fd3_compile_shader(so, tokens);
if (ret) {
debug_error("new compiler failed, trying fallback!");