mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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 <robclark@freedesktop.org>
This commit is contained in:
parent
ded5013c4c
commit
33193540fc
3 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue