From c10f889a81bc06638a5b9cd9db1fc163b113c2d8 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Wed, 23 Aug 2023 13:41:02 +0200 Subject: [PATCH] vkd3d: Expose Enhanced Barriers. Signed-off-by: Hans-Kristian Arntzen --- libs/vkd3d/device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index b0c307f8cd..1ddca811eb 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -7270,10 +7270,8 @@ static void d3d12_device_caps_init_feature_options11(struct d3d12_device *device static void d3d12_device_caps_init_feature_options12(struct d3d12_device *device) { D3D12_FEATURE_DATA_D3D12_OPTIONS12 *options12 = &device->d3d12_caps.options12; - - /* Exposing this without EnhancedBarrier is somewhat meaningless, - * but this allows us to implement the enhanced barrier API piecemeal. */ options12->RelaxedFormatCastingSupported = TRUE; + options12->EnhancedBarriersSupported = TRUE; } static void d3d12_device_caps_init_feature_options13(struct d3d12_device *device)