From ea4e0bc47000b8da2cbaf56d0aca458121e23616 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 17 Aug 2022 17:34:18 +0200 Subject: [PATCH] [d3d9,d3d11] Require shaderDemoteToHelperInvocation feature --- src/d3d11/d3d11_device.cpp | 2 +- src/d3d9/d3d9_device.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index b575f7ea6..376f06e69 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -1918,7 +1918,7 @@ namespace dxvk { enabled.vk12.samplerMirrorClampToEdge = VK_TRUE; enabled.vk12.timelineSemaphore = VK_TRUE; - enabled.vk13.shaderDemoteToHelperInvocation = supported.vk13.shaderDemoteToHelperInvocation; + enabled.vk13.shaderDemoteToHelperInvocation = VK_TRUE; enabled.extMemoryPriority.memoryPriority = supported.extMemoryPriority.memoryPriority; diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 68ce10094..a55b0bad0 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -3894,7 +3894,7 @@ namespace dxvk { enabled.vk12.samplerMirrorClampToEdge = VK_TRUE; - enabled.vk13.shaderDemoteToHelperInvocation = supported.vk13.shaderDemoteToHelperInvocation; + enabled.vk13.shaderDemoteToHelperInvocation = VK_TRUE; enabled.extMemoryPriority.memoryPriority = supported.extMemoryPriority.memoryPriority;