summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_util.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-03-08 13:38:51 -0400
committerRob Clark <[email protected]>2015-03-08 17:42:43 -0400
commitfd17db6fe51da8878472582329553cbae663f1db (patch)
tree39ba2304baeb80fc186a86df7dde2bd618eb342c /src/gallium/drivers/freedreno/freedreno_util.h
parent0e8d58b80a0799728bcb8b65a79ce2d27b32170a (diff)
freedreno: replace glsl130 debug flag with glsl120
Now that relative-dst works, we should never fall back to the old compiler. (Which is almost true, other than a couple edge case sched fails in piglit). So replace glsl130 flag to force GLSL 130 and integers on a3xx/a4xx with a glsl120 flag to force GLSL 120 and !integers. If this commit breaks any game/app/etc use FD_MESA_DEBUG=glsl120 as a workaround and please let me know. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_util.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h
index 929715c2911..f9c959e0822 100644
--- a/src/gallium/drivers/freedreno/freedreno_util.h
+++ b/src/gallium/drivers/freedreno/freedreno_util.h
@@ -65,7 +65,7 @@ enum adreno_stencil_op fd_stencil_op(unsigned op);
#define FD_DBG_NOOPT 0x0200
#define FD_DBG_OPTMSGS 0x0400
#define FD_DBG_OPTDUMP 0x0800
-#define FD_DBG_GLSL130 0x1000
+#define FD_DBG_GLSL120 0x1000
#define FD_DBG_NOCP 0x2000
extern int fd_mesa_debug;