diff options
author | Ilia Mirkin <[email protected]> | 2014-12-03 22:12:39 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-12-06 18:18:53 -0500 |
commit | 043b79461f3983bcc65b5546ab2544cf5871659e (patch) | |
tree | 9665ac0c08c845dfe2640cad3eb18a2484e0f144 /src | |
parent | c416f49ebe69436e4fd96f738249be8f8d511447 (diff) |
freedreno/a2xx: silence warning about missing DEPTH32X
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_draw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c index 764f3be22d4..44eab7a0075 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c @@ -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); |