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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user