summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-09-17 11:18:06 +0200
committerSamuel Pitoiset <[email protected]>2018-09-17 11:29:25 +0200
commitaec91514643c096ad98af9f36d7f33a74d103c7c (patch)
tree796ff19e2083da63dd50c084674a71a71283d340 /src/amd/vulkan
parent6521d4a659b911bb86d979564de03665616a671e (diff)
radv: fix use of unreachable() in the meta blit path
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_meta_blit.c8
1 files changed, 4 insertions, 4 deletions
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) {