radeonsi: Early return if no depth or stencil on release builds.
Fixes "Missing break in switch" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
de10d383d0
commit
4a6d2f3dd7
|
@ -131,6 +131,7 @@ void r600_blit_decompress_depth(struct pipe_context *ctx,
|
|||
switch (util_format_has_depth(desc) | util_format_has_stencil(desc) << 1) {
|
||||
default:
|
||||
assert(!"No depth or stencil to uncompress");
|
||||
return;
|
||||
case 3:
|
||||
custom_dsa = rctx->custom_dsa_flush_depth_stencil;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue