diff options
| author | Stenzek <stenzek@gmail.com> | 2017-09-09 00:10:40 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-09-11 20:01:52 +1000 |
| commit | 340aabbb06404481b8a496f506ebc9bae75fad6c (patch) | |
| tree | bec229041a0bf943001d38f1ddbb6b6bde8ca7b0 /Source/Core/VideoBackends/Vulkan/ShaderCache.cpp | |
| parent | b7a099814a6cfcd1db4d7091e01bf4538be67e5e (diff) | |
VideoCommon: Add helpers for generating common render states
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/ShaderCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/ShaderCache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp b/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp index f32ca869ef..9bd41b882f 100644 --- a/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/ShaderCache.cpp @@ -1210,9 +1210,9 @@ void ShaderCache::CreateDummyPipeline(const UberShader::VertexShaderUid& vuid, VK_NULL_HANDLE; pinfo.ps = GetPixelUberShaderForUid(puid); pinfo.render_pass = FramebufferManager::GetInstance()->GetEFBLoadRenderPass(); - pinfo.rasterization_state.hex = Util::GetNoCullRasterizationState().hex; - pinfo.depth_state.hex = Util::GetNoDepthTestingDepthStencilState().hex; - pinfo.blend_state.hex = Util::GetNoBlendingBlendState().hex; + pinfo.rasterization_state.hex = RenderState::GetNoCullRasterizationState().hex; + pinfo.depth_state.hex = RenderState::GetNoDepthTestingDepthStencilState().hex; + pinfo.blend_state.hex = RenderState::GetNoBlendingBlendState().hex; pinfo.multisampling_state.hex = FramebufferManager::GetInstance()->GetEFBMultisamplingState().hex; pinfo.rasterization_state.primitive = guid.GetUidData()->primitive_type; GetPipelineWithCacheResultAsync(pinfo); |
