1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-27 04:54:15 +01:00

[dxvk] Enable uniformBufferStandardLayout feature

Core and required in Vulkan 1.2, but keep it optional anyway for now
since we're not really doing anything critical with it.
This commit is contained in:
Philip Rebohle 2025-02-26 00:02:48 +01:00
parent 9401bca88e
commit 6d2aa070cd

View File

@ -353,6 +353,10 @@ namespace dxvk {
// Required for proper GPU synchronization
enabledFeatures.vk12.timelineSemaphore = VK_TRUE;
// Used for better constant array packing in some cases
enabledFeatures.vk12.uniformBufferStandardLayout =
m_deviceFeatures.vk12.uniformBufferStandardLayout;
// Only enable the base image robustness feature if robustness 2 isn't
// supported, since this is only a subset of what we actually want.
enabledFeatures.vk13.robustImageAccess =