mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
radv: fix use of unreachable() in the meta blit path
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
6521d4a659
commit
aec9151464
1 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue