mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radv: do not support UNIFORM_TEXEL_BUFFER with SRGB
Looks like it can't be supported. Also disabled by PRO/AMDVLK. Fixes new CTS dEQP-VK.texture.texel_buffer.uniform.srgb.*. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16010>
This commit is contained in:
parent
443034c1ec
commit
90db834603
1 changed files with 1 additions and 1 deletions
|
|
@ -748,7 +748,7 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
|
|||
if (radv_is_buffer_format_supported(format, &scaled)) {
|
||||
if (format != VK_FORMAT_R64_UINT && format != VK_FORMAT_R64_SINT) {
|
||||
buffer |= VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT;
|
||||
if (!scaled)
|
||||
if (!scaled && !vk_format_is_srgb(format))
|
||||
buffer |= VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT;
|
||||
}
|
||||
buffer |= VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue