mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
dzn: Implement VK_MSFT_layered_driver
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25993>
This commit is contained in:
parent
fdb58f5b6c
commit
8f9888fd75
1 changed files with 7 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ dzn_physical_device_get_extensions(struct dzn_physical_device *pdev)
|
|||
.EXT_shader_subgroup_vote = true,
|
||||
.EXT_subgroup_size_control = true,
|
||||
.EXT_vertex_attribute_divisor = true,
|
||||
.MSFT_layered_driver = true,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -1960,6 +1961,12 @@ dzn_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
|||
break;
|
||||
}
|
||||
#endif
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT: {
|
||||
VkPhysicalDeviceLayeredDriverPropertiesMSFT *layered_props =
|
||||
(VkPhysicalDeviceLayeredDriverPropertiesMSFT *)ext;
|
||||
layered_props->underlyingAPI = VK_LAYERED_DRIVER_UNDERLYING_API_D3D12_MSFT;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
dzn_debug_ignored_stype(ext->sType);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue