mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
v3dv: remove blit shader restriction on depth/stencil not being linear
We can't render to linear depth/stencil formats but the blit shader automatically converts D/S blits to compatible color blits where we don't have this restriction. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29597>
This commit is contained in:
parent
467230e7e4
commit
993ba4135c
1 changed files with 0 additions and 5 deletions
|
|
@ -4362,11 +4362,6 @@ blit_shader(struct v3dv_cmd_buffer *cmd_buffer,
|
|||
bool handled = true;
|
||||
VkResult result;
|
||||
|
||||
/* We don't support rendering to linear depth/stencil, this should have
|
||||
* been rewritten to a compatible color blit by the caller.
|
||||
*/
|
||||
assert(dst->tiled || !vk_format_is_depth_or_stencil(dst_format));
|
||||
|
||||
/* Can't sample from linear images */
|
||||
if (!src->tiled && src->vk.image_type != VK_IMAGE_TYPE_1D) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue