vulkan: use push constants for builtin uniforms

when available
This commit is contained in:
niki
2022-09-15 15:17:06 +02:00
parent d1da47dbf0
commit 47e3fc85d2
9 changed files with 223 additions and 79 deletions
+1
View File
@@ -373,6 +373,7 @@ private:
uint32_t vulkanApiVersion = VK_VERSION_1_0;
VkInstance instance = VK_NULL_HANDLE;
VkPhysicalDevice physicalDevice = VK_NULL_HANDLE;
bool canUsePushConstants = false;
int requestedMsaa = 0;
VkDevice device = VK_NULL_HANDLE;
OptionalInstanceExtensions optionalInstanceExtensions;