diff options
author | Rob Clark <[email protected]> | 2014-10-22 13:27:35 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-10-25 12:07:21 -0400 |
commit | 33193540fcb2208b040afb956bd25c6583af60d2 (patch) | |
tree | 4490e09c10e87d1f2b381c1adf5cb8e6de3e0173 /src/gallium | |
parent | ded5013c4cd953e67ab858d8c62d45be3fb4eebb (diff) |
freedreno: rename a couple debug flags
dscis -> noscis
dbypass -> nobypass
a bit more consistant w/ nobin, etc. And IMO a bit more sensible names.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 6 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_util.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index 7f6c8476cdb..392c547c137 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -105,7 +105,7 @@ calculate_tiles(struct fd_context *ctx) max_width /= 2; } - if (fd_mesa_debug & FD_DBG_DSCIS) { + if (fd_mesa_debug & FD_DBG_NOSCIS) { minx = 0; miny = 0; width = pfb->width; @@ -324,7 +324,7 @@ fd_gmem_render_tiles(struct fd_context *ctx) if (ctx->cleared || ctx->gmem_reason || (ctx->num_draws > 5)) { DBG("GMEM: cleared=%x, gmem_reason=%x, num_draws=%u", ctx->cleared, ctx->gmem_reason, ctx->num_draws); - } else if (!(fd_mesa_debug & FD_DBG_DBYPASS)) { + } else if (!(fd_mesa_debug & FD_DBG_NOBYPASS)) { sysmem = true; } } diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 7a3cd952ce2..e873af92943 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -61,9 +61,9 @@ static const struct debug_named_value debug_options[] = { {"disasm", FD_DBG_DISASM, "Dump TGSI and adreno shader disassembly"}, {"dclear", FD_DBG_DCLEAR, "Mark all state dirty after clear"}, {"flush", FD_DBG_FLUSH, "Force flush after every draw"}, - {"dscis", FD_DBG_DSCIS, "Disable scissor optimization"}, + {"noscis", FD_DBG_NOSCIS, "Disable scissor optimization"}, {"direct", FD_DBG_DIRECT, "Force inline (SS_DIRECT) state loads"}, - {"dbypass", FD_DBG_DBYPASS,"Disable GMEM bypass"}, + {"nobypass", FD_DBG_NOBYPASS, "Disable GMEM bypass"}, {"fraghalf", FD_DBG_FRAGHALF, "Use half-precision in fragment shader"}, {"nobin", FD_DBG_NOBIN, "Disable hw binning"}, {"noopt", FD_DBG_NOOPT , "Disable optimization passes in compiler"}, @@ -352,7 +352,7 @@ fd_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH: return 8; /* XXX */ case PIPE_SHADER_CAP_MAX_INPUTS: - case PIPE_SHADER_CAP_MAX_OUTPUTS: + case PIPE_SHADER_CAP_MAX_OUTPUTS: return 16; case PIPE_SHADER_CAP_MAX_TEMPS: return 64; /* Max native temporaries. */ diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h index 36a5995c43d..5508514194e 100644 --- a/src/gallium/drivers/freedreno/freedreno_util.h +++ b/src/gallium/drivers/freedreno/freedreno_util.h @@ -57,9 +57,9 @@ enum adreno_stencil_op fd_stencil_op(unsigned op); #define FD_DBG_DISASM 0x0002 #define FD_DBG_DCLEAR 0x0004 #define FD_DBG_FLUSH 0x0008 -#define FD_DBG_DSCIS 0x0010 +#define FD_DBG_NOSCIS 0x0010 #define FD_DBG_DIRECT 0x0020 -#define FD_DBG_DBYPASS 0x0040 +#define FD_DBG_NOBYPASS 0x0040 #define FD_DBG_FRAGHALF 0x0080 #define FD_DBG_NOBIN 0x0100 #define FD_DBG_NOOPT 0x0200 |