Vulkan: Fix typo, bump shader cache version.

This commit is contained in:
Henrik Rydgard 2019-02-04 14:21:46 +01:00
parent 57e9073ae4
commit 128c0adc39
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ static VulkanPipeline *CreateVulkanPipeline(VkDevice device, VkPipelineCache pip
attributeCount = SetupVertexAttribs(attrs, *decFmt);
vertexStride = decFmt->stride;
} else {
bool needsColor1 = vs->GetID().Bit(FS_BIT_LMODE);
bool needsColor1 = vs->GetID().Bit(VS_BIT_LMODE);
attributeCount = SetupVertexAttribsPretransformed(attrs, needsColor1);
vertexStride = 36;
}

View File

@ -361,7 +361,7 @@ VulkanFragmentShader *ShaderManagerVulkan::GetFragmentShaderFromModule(VkShaderM
// instantaneous.
#define CACHE_HEADER_MAGIC 0xff51f420
#define CACHE_VERSION 15
#define CACHE_VERSION 16
struct VulkanCacheHeader {
uint32_t magic;
uint32_t version;