freedreno: add flag to enable dEQP hacks
authorRob Clark <robclark@freedesktop.org>
Mon, 11 Apr 2016 21:55:37 +0000 (17:55 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 13 Apr 2016 18:15:24 +0000 (14:15 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_util.h

index 37a72f26e3bb4c81c62141e7ee9797d4bd2baee0..95bf5ac05ea17d4fcf300c9b2e92ce04350340d0 100644 (file)
@@ -71,6 +71,7 @@ static const struct debug_named_value debug_options[] = {
                {"glsl120",   FD_DBG_GLSL120,"Temporary flag to force GLSL 1.20 (rather than 1.30) on a3xx+"},
                {"shaderdb",  FD_DBG_SHADERDB, "Enable shaderdb output"},
                {"flush",     FD_DBG_FLUSH,  "Force flush after every draw"},
+               {"deqp",      FD_DBG_DEQP,   "Enable dEQP hacks"},
                DEBUG_NAMED_VALUE_END
 };
 
index 47dd467f498c412538aa2e1115d39598dd1386a6..85dac98231433f8a3c56e8bacd3d33693ec14cfa 100644 (file)
@@ -73,6 +73,7 @@ enum adreno_stencil_op fd_stencil_op(unsigned op);
 #define FD_DBG_GLSL120  0x0400
 #define FD_DBG_SHADERDB 0x0800
 #define FD_DBG_FLUSH    0x1000
+#define FD_DBG_DEQP     0x2000
 
 extern int fd_mesa_debug;
 extern bool fd_binning_enabled;