mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
tu: Allow event blit to resolve depth stencil formats
This seemingly works on A7XX with no issues and the comment there prior suggests that it should work on A6XX so this case is now allowed to go through the event blit rather than the slow path. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26461>
This commit is contained in:
parent
cc6399de31
commit
9e699afa9b
1 changed files with 1 additions and 3 deletions
|
|
@ -3460,7 +3460,7 @@ blit_can_resolve(VkFormat format)
|
|||
* note: this includes all float formats
|
||||
* note2: single channel integer formats seem OK
|
||||
*/
|
||||
if (desc->channel[0].size > 10)
|
||||
if (desc->channel[0].size > 10 && vk_format_is_color(format))
|
||||
return false;
|
||||
|
||||
switch (format) {
|
||||
|
|
@ -3471,8 +3471,6 @@ blit_can_resolve(VkFormat format)
|
|||
case VK_FORMAT_R8G8_UINT:
|
||||
case VK_FORMAT_R8G8_SINT:
|
||||
case VK_FORMAT_R8G8_SRGB:
|
||||
/* TODO: this one should be able to work? */
|
||||
case VK_FORMAT_D24_UNORM_S8_UINT:
|
||||
return false;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue