From: Samuel Pitoiset Date: Mon, 17 Sep 2018 09:18:06 +0000 (+0200) Subject: radv: fix use of unreachable() in the meta blit path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aec91514643c096ad98af9f36d7f33a74d103c7c;p=mesa.git radv: fix use of unreachable() in the meta blit path Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- diff --git a/src/amd/vulkan/radv_meta_blit.c b/src/amd/vulkan/radv_meta_blit.c index a205686e553..e7962911208 100644 --- a/src/amd/vulkan/radv_meta_blit.c +++ b/src/amd/vulkan/radv_meta_blit.c @@ -384,7 +384,7 @@ meta_emit_blit(struct radv_cmd_buffer *cmd_buffer, pipeline = &device->meta_state.blit.pipeline_3d_src[fs_key]; break; default: - unreachable(!"bad VkImageType"); + unreachable("bad VkImageType"); } break; } @@ -413,7 +413,7 @@ meta_emit_blit(struct radv_cmd_buffer *cmd_buffer, pipeline = &device->meta_state.blit.depth_only_3d_pipeline; break; default: - unreachable(!"bad VkImageType"); + unreachable("bad VkImageType"); } break; } @@ -442,12 +442,12 @@ meta_emit_blit(struct radv_cmd_buffer *cmd_buffer, pipeline = &device->meta_state.blit.stencil_only_3d_pipeline; break; default: - unreachable(!"bad VkImageType"); + unreachable("bad VkImageType"); } break; } default: - unreachable(!"bad VkImageType"); + unreachable("bad VkImageType"); } if (!*pipeline) {