1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-17 17:52:11 +01:00

[d3d11] Enable VK_KHR_buffer_device_address if necessary

Just enabling the extension doesn't necessarily do anything.
This commit is contained in:
Philip Rebohle 2021-10-01 14:09:17 +02:00
parent 1fefdf2ab6
commit 7193962381
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1940,6 +1940,8 @@ namespace dxvk {
enabled.extVertexAttributeDivisor.vertexAttributeInstanceRateDivisor = supported.extVertexAttributeDivisor.vertexAttributeInstanceRateDivisor;
enabled.extVertexAttributeDivisor.vertexAttributeInstanceRateZeroDivisor = supported.extVertexAttributeDivisor.vertexAttributeInstanceRateZeroDivisor;
enabled.khrBufferDeviceAddress = supported.khrBufferDeviceAddress;
if (supported.extCustomBorderColor.customBorderColorWithoutFormat) {
enabled.extCustomBorderColor.customBorderColors = VK_TRUE;
enabled.extCustomBorderColor.customBorderColorWithoutFormat = VK_TRUE;