From aec91514643c096ad98af9f36d7f33a74d103c7c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 17 Sep 2018 11:18:06 +0200 Subject: radv: fix use of unreachable() in the meta blit path Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/amd/vulkan/radv_meta_blit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3