radv/aco: enable VK_KHR_memory_model

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6063>
This commit is contained in:
Rhys Perry
2020-07-24 17:11:45 +01:00
committed by Marge Bot
parent 389c95a889
commit da38e99eda
4 changed files with 14 additions and 2 deletions

View File

@@ -409,6 +409,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
.tessellation = true,
.transform_feedback = true,
.variable_pointers = true,
.vk_memory_model = !device->physical_device->use_llvm,
.vk_memory_model_device_scope = !device->physical_device->use_llvm,
},
.ubo_addr_format = nir_address_format_32bit_index_offset,
.ssbo_addr_format = nir_address_format_32bit_index_offset,