Skip to content

Commit

Permalink
Merge pull request #83563 from RandomShaper/vk_shader_hist
Browse files Browse the repository at this point in the history
Bump version of Vulkan RD binary shader format
  • Loading branch information
akien-mga committed Oct 18, 2023
2 parents 2714a73 + 7e59864 commit beb8484
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 beb8484

Please sign in to comment.