diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-10-18 17:45:10 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-10-18 17:45:10 +0200 |
commit | 7e598642d22055bc3958963a34d6ba2b8c6e88cf (patch) | |
tree | 6aba00a437074bff251afc6eb5eb182284a007f2 /drivers/vulkan | |
parent | dce1aab174369e9124507f4614fc007301df52e7 (diff) | |
download | redot-engine-7e598642d22055bc3958963a34d6ba2b8c6e88cf.tar.gz |
Bump version of Vulkan RD binary shader format
Diffstat (limited to 'drivers/vulkan')
-rw-r--r-- | drivers/vulkan/rendering_device_vulkan.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.cpp b/drivers/vulkan/rendering_device_vulkan.cpp index 5c68149a5f..a9f77c9072 100644 --- a/drivers/vulkan/rendering_device_vulkan.cpp +++ b/drivers/vulkan/rendering_device_vulkan.cpp @@ -4639,8 +4639,9 @@ String RenderingDeviceVulkan::_shader_uniform_debug(RID p_shader, int p_set) { // Version 1: initial. // Version 2: Added shader name. // Version 3: Added writable. +// Version 4: 64-bit vertex input mask. -#define SHADER_BINARY_VERSION 3 +#define SHADER_BINARY_VERSION 4 String RenderingDeviceVulkan::shader_get_binary_cache_key() const { return "Vulkan-SV" + itos(SHADER_BINARY_VERSION); |