mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
lavapipe: disable VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT for int formats
this is unsupported and undefined by the spec cc: mesa-stable Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21099>
This commit is contained in:
parent
fec15a225f
commit
7d8e2db9f9
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ lvp_physical_device_get_format_properties(struct lvp_physical_device *physical_d
|
|||
PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_RENDER_TARGET)) {
|
||||
features |= VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT;
|
||||
/* SNORM blending on llvmpipe fails CTS - disable for now */
|
||||
if (!util_format_is_snorm(pformat))
|
||||
if (!util_format_is_snorm(pformat) && !util_format_is_pure_integer(pformat))
|
||||
features |= VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue