projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c416f49
)
freedreno/a2xx: silence warning about missing DEPTH32X
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 4 Dec 2014 03:12:39 +0000
(22:12 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 6 Dec 2014 23:18:53 +0000
(18:18 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a2xx/fd2_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c
b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c
index 764f3be22d45952cbae6a591e0aea296c7a366ca..44eab7a00756c43004e24727e2267a1d6e807dc2 100644
(file)
--- 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);