radv: set combinedImageSamplerDescriptorCount to 1 for multi-planar formats
RADV compacts all descriptors for multi-planar images into one
combined image sampler, so it should be 96, and not eg. 192 for a two
planes format.
Fixes new CTS
dEQP-VK.binding_model.descriptor_buffer.ycbcr_sampler.*array.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26498>
(cherry picked from commit 3678482f1e
)
This commit is contained in:

committed by
Eric Engestrom

parent
605f8b70d4
commit
f776553f4d
@@ -3044,7 +3044,7 @@
|
||||
"description": "radv: set combinedImageSamplerDescriptorCount to 1 for multi-planar formats",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
@@ -1695,7 +1695,7 @@ radv_GetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice,
|
||||
}
|
||||
|
||||
if (ycbcr_props) {
|
||||
ycbcr_props->combinedImageSamplerDescriptorCount = vk_format_get_plane_count(format);
|
||||
ycbcr_props->combinedImageSamplerDescriptorCount = 1;
|
||||
}
|
||||
|
||||
if (texture_lod_props) {
|
||||
|
Reference in New Issue
Block a user