mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
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:
parent
86a7b5e276
commit
a0ccc46969
1 changed files with 6 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue