mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv: Expose VK_EXT_map_memory_placed.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27689>
This commit is contained in:
parent
7e029735e6
commit
3b15a9c52c
2 changed files with 12 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
VK_EXT_map_memory_placed on RADV
|
||||
VK_KHR_shader_subgroup_rotate on RADV
|
||||
VK_KHR_load_store_op_none on RADV
|
||||
VK_KHR_line_rasterization on RADV
|
||||
|
|
|
|||
|
|
@ -612,6 +612,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
.EXT_inline_uniform_block = true,
|
||||
.EXT_line_rasterization = true,
|
||||
.EXT_load_store_op_none = true,
|
||||
.EXT_map_memory_placed = true,
|
||||
.EXT_memory_budget = true,
|
||||
.EXT_memory_priority = true,
|
||||
.EXT_mesh_shader = radv_taskmesh_enabled(device),
|
||||
|
|
@ -963,6 +964,11 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice, st
|
|||
/* VK_KHR_shader_subgroup_uniform_control_flow */
|
||||
.shaderSubgroupUniformControlFlow = true,
|
||||
|
||||
/* VK_EXT_map_memory_placed */
|
||||
.memoryMapPlaced = true,
|
||||
.memoryMapRangePlaced = false,
|
||||
.memoryUnmapReserve = true,
|
||||
|
||||
/* VK_EXT_multi_draw */
|
||||
.multiDraw = true,
|
||||
|
||||
|
|
@ -1865,6 +1871,11 @@ radv_get_physical_device_properties(struct radv_physical_device *pdevice)
|
|||
/* VK_EXT_shader_object */
|
||||
radv_device_get_cache_uuid(pdevice, p->shaderBinaryUUID);
|
||||
p->shaderBinaryVersion = 1;
|
||||
|
||||
/* VK_EXT_map_memory_placed */
|
||||
uint64_t os_page_size = 4096;
|
||||
os_get_page_size(&os_page_size);
|
||||
p->minPlacedMemoryMapAlignment = os_page_size;
|
||||
}
|
||||
|
||||
static VkResult
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue