Fix ubershaders
This commit is contained in:
parent
5cc54c5603
commit
519ef3afc7
1 changed files with 2 additions and 2 deletions
|
|
@ -413,7 +413,7 @@ VulkanPipeline* VkRenderPassSetup::GetVertexShaderLibrary(const VkPipelineKey& k
|
|||
vkey.RenderStyle.AsDWORD = 0;
|
||||
if (isUberShader)
|
||||
{
|
||||
vkey.AsQWORD = 0;
|
||||
vkey.ShaderKey.AsQWORD = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -455,7 +455,7 @@ VulkanPipeline* VkRenderPassSetup::GetFragmentShaderLibrary(const VkPipelineKey&
|
|||
fkey.RenderStyle.AsDWORD = 0;
|
||||
fkey.ShaderKey.VertexFormat = 0;
|
||||
if (isUberShader)
|
||||
fkey.AsQWORD = 0;
|
||||
fkey.ShaderKey.AsQWORD = 0;
|
||||
auto& pipeline = Libraries.FragmentShader[fkey];
|
||||
if (!pipeline)
|
||||
pipeline = CreateFragmentShaderLibrary(key, isUberShader);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue