tu: allow using resolve engine for SRGB MSAA resolves
CTS accepts this behavior since a1be5ce2c893f525da82bc28c6e81b17cacc5d14 Signed-off-by: Jonathan Marek <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20120>
This commit is contained in:
committed by
Marge Bot
parent
1cfc413c9a
commit
029919f3c8
@@ -3038,8 +3038,9 @@ blit_can_resolve(VkFormat format)
|
||||
|
||||
/* blit event can only do resolve for simple cases:
|
||||
* averaging samples as unsigned integers or choosing only one sample
|
||||
* Note this is allowed for SRGB formats, but results differ from 2D draw resolve
|
||||
*/
|
||||
if (vk_format_is_snorm(format) || vk_format_is_srgb(format))
|
||||
if (vk_format_is_snorm(format))
|
||||
return false;
|
||||
|
||||
/* can't do formats with larger channel sizes
|
||||
|
||||
Reference in New Issue
Block a user