vulkan: Fix dynamic vertex binding stride validation errors. (#1229)

This commit is contained in:
squidbus 2024-10-03 21:51:08 -07:00 committed by GitHub
parent 49ceff71a2
commit be411b37d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -366,6 +366,9 @@ bool Instance::CreateDevice() {
vk::PhysicalDeviceColorWriteEnableFeaturesEXT{
.colorWriteEnable = true,
},
vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT{
.extendedDynamicState = true,
},
vk::PhysicalDeviceExtendedDynamicState3FeaturesEXT{
.extendedDynamicState3ColorWriteMask = true,
},