radv: Expose VK_VALVE_descriptor_set_host_mapping for vkd3d only.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15363>
This commit is contained in:
Bas Nieuwenhuizen 2022-03-13 19:10:38 +01:00 committed by Marge Bot
parent 86a7b5e276
commit a0ccc46969

View file

@ -557,7 +557,12 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
.NV_compute_shader_derivatives = true,
.NV_mesh_shader = device->use_ngg && device->rad_info.chip_class >= GFX10_3 &&
device->instance->perftest_flags & RADV_PERFTEST_NV_MS && !device->use_llvm,
.VALVE_descriptor_set_host_mapping = true,
/* Undocumented extension purely for vkd3d-proton. This check is to prevent anyone else from
* using it.
*/
.VALVE_descriptor_set_host_mapping =
device->vk.instance->app_info.engine_name &&
strcmp(device->vk.instance->app_info.engine_name, "vkd3d") == 0,
.VALVE_mutable_descriptor_type = true,
};
}