mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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:
parent
1cfc413c9a
commit
029919f3c8
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue