freedreno/a2xx: silence warning about missing DEPTH32X
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
c416f49ebe
commit
043b79461f
|
@ -176,7 +176,7 @@ fd2_clear(struct fd_context *ctx, unsigned buffers,
|
|||
reg |= A2XX_RB_COPY_CONTROL_CLEAR_MASK(0xf);
|
||||
break;
|
||||
default:
|
||||
assert(1);
|
||||
debug_assert(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -194,6 +194,9 @@ fd2_clear(struct fd_context *ctx, unsigned buffers,
|
|||
case DEPTHX_16:
|
||||
reg = (uint32_t)(0xffffffff * depth);
|
||||
break;
|
||||
default:
|
||||
debug_assert(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
OUT_RING(ring, reg);
|
||||
|
|
Loading…
Reference in New Issue