Skip to content

Commit

Permalink
Bump version of Vulkan RD binary shader format
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomShaper committed Oct 18, 2023
1 parent dce1aab commit 7e59864
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/vulkan/rendering_device_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7e59864

Please sign in to comment.