vulkan: Rename some VK_EXT_descriptor_buffer properties

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40649>
This commit is contained in:
Faith Ekstrand 2025-06-13 12:28:46 -04:00 committed by Marge Bot
parent dc44b2e916
commit 4d56fa661f
6 changed files with 6 additions and 5 deletions

View file

@ -2134,7 +2134,7 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
.imageViewCaptureReplayDescriptorDataSize = 1,
.samplerCaptureReplayDescriptorDataSize = 4,
.accelerationStructureCaptureReplayDescriptorDataSize = 1,
.samplerDescriptorSize = RADV_SAMPLER_DESC_SIZE,
.EDBsamplerDescriptorSize = RADV_SAMPLER_DESC_SIZE,
.combinedImageSamplerDescriptorSize = radv_get_combined_image_sampler_desc_size(pdev),
.sampledImageDescriptorSize = radv_get_sampled_image_desc_size(pdev),
.storageImageDescriptorSize = RADV_STORAGE_IMAGE_DESC_SIZE,

View file

@ -1394,7 +1394,7 @@ tu_get_properties(struct tu_physical_device *pdevice,
props->samplerCaptureReplayDescriptorDataSize = 0;
props->accelerationStructureCaptureReplayDescriptorDataSize = 0;
/* Note: these sizes must match descriptor_size() */
props->samplerDescriptorSize = FDL6_TEX_CONST_DWORDS * 4;
props->EDBsamplerDescriptorSize = FDL6_TEX_CONST_DWORDS * 4;
props->combinedImageSamplerDescriptorSize = 2 * FDL6_TEX_CONST_DWORDS * 4;
props->sampledImageDescriptorSize = FDL6_TEX_CONST_DWORDS * 4;
props->storageImageDescriptorSize = FDL6_TEX_CONST_DWORDS * 4;

View file

@ -1230,7 +1230,7 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie
.imageViewCaptureReplayDescriptorDataSize = 0,
.samplerCaptureReplayDescriptorDataSize = 0,
.accelerationStructureCaptureReplayDescriptorDataSize = 0,
.samplerDescriptorSize = sizeof(struct lp_descriptor),
.EDBsamplerDescriptorSize = sizeof(struct lp_descriptor),
.combinedImageSamplerDescriptorSize = sizeof(struct lp_descriptor),
.sampledImageDescriptorSize = sizeof(struct lp_descriptor),
.storageImageDescriptorSize = sizeof(struct lp_descriptor),

View file

@ -1715,7 +1715,7 @@ get_properties(const struct anv_physical_device *pdevice,
*/
props->accelerationStructureCaptureReplayDescriptorDataSize = 0;
props->samplerDescriptorSize = ANV_SAMPLER_STATE_SIZE;
props->EDBsamplerDescriptorSize = ANV_SAMPLER_STATE_SIZE;
props->combinedImageSamplerDescriptorSize = align(ANV_SURFACE_STATE_SIZE + ANV_SAMPLER_STATE_SIZE,
ANV_SURFACE_STATE_SIZE);
props->sampledImageDescriptorSize = ANV_SURFACE_STATE_SIZE;

View file

@ -1106,7 +1106,7 @@ nvk_get_device_properties(const struct nvk_instance *instance,
.samplerCaptureReplayDescriptorDataSize =
sizeof(struct nvk_sampler_capture),
.accelerationStructureCaptureReplayDescriptorDataSize = 0, // todo
.samplerDescriptorSize = sizeof(struct nvk_sampled_image_descriptor),
.EDBsamplerDescriptorSize = sizeof(struct nvk_sampled_image_descriptor),
.combinedImageSamplerDescriptorSize = sizeof(struct nvk_sampled_image_descriptor),
.sampledImageDescriptorSize = sizeof(struct nvk_sampled_image_descriptor),
.storageImageDescriptorSize = sizeof(struct nvk_storage_image_descriptor),

View file

@ -58,6 +58,7 @@ RENAMED_PROPERTIES = {
("SubgroupProperties", "supportedStages"): "subgroupSupportedStages",
("SubgroupProperties", "supportedOperations"): "subgroupSupportedOperations",
("SubgroupProperties", "quadOperationsInAllStages"): "subgroupQuadOperationsInAllStages",
("DescriptorBufferPropertiesEXT", "samplerDescriptorSize"): "EDBsamplerDescriptorSize",
}
OUT_ARRAYS = {