static uint32_t bin_width(struct fd_context *ctx)
{
- if (ctx->screen->gpu_id >= 300)
+ if (is_a4xx(ctx->screen))
+ return 1024;
+ if (is_a3xx(ctx->screen))
return 992;
return 512;
}
max_width /= 2;
}
- if (fd_mesa_debug & FD_DBG_DSCIS) {
+ if (fd_mesa_debug & FD_DBG_NOSCIS) {
minx = 0;
miny = 0;
width = pfb->width;
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;
}
}