tu: support VK_EXT_legacy_vertex_attributes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29086>
This commit is contained in:
Mike Blumenkrantz 2024-05-07 09:42:31 -04:00 committed by Marge Bot
parent 2890a0615e
commit 660a47ecbf

View file

@ -242,6 +242,7 @@ get_device_extensions(const struct tu_physical_device *device,
.EXT_image_view_min_lod = true,
.EXT_index_type_uint8 = true,
.EXT_inline_uniform_block = true,
.EXT_legacy_vertex_attributes = true,
.EXT_line_rasterization = true,
.EXT_load_store_op_none = true,
.EXT_map_memory_placed = true,
@ -1067,6 +1068,9 @@ tu_get_properties(struct tu_physical_device *pdevice,
props->descriptorBufferAddressSpaceSize = ~0ull;
props->combinedImageSamplerDensityMapDescriptorSize = 2 * A6XX_TEX_CONST_DWORDS * 4;
/* VK_EXT_legacy_vertex_attributes */
props->nativeUnalignedPerformance = true,
/* VK_EXT_fragment_density_map*/
props->minFragmentDensityTexelSize = (VkExtent2D) { MIN_FDM_TEXEL_SIZE, MIN_FDM_TEXEL_SIZE };
props->maxFragmentDensityTexelSize = (VkExtent2D) { MAX_FDM_TEXEL_SIZE, MAX_FDM_TEXEL_SIZE };