diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-17 23:37:27 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-19 00:21:19 +0200 |
commit | ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06 (patch) | |
tree | 2f14fb8f5cc9710ee02fb5a52909c56367aafc75 /src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |
parent | Merge pull request #3703 from yuzu-emu/revert-3656-glsl-full-decompile (diff) | |
download | yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.gz yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.bz2 yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.lz yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.xz yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.tar.zst yuzu-ab6704f20ccaa9ba63b9c4b85ce7afee1e9edf06.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_pipeline_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 90e3a8edd..083da9999 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -334,7 +334,7 @@ VKPipelineCache::DecompileShaders(const GraphicsPipelineCacheKey& key) { specialization.point_size = fixed_state.input_assembly.point_size; } for (std::size_t i = 0; i < Maxwell::NumVertexAttributes; ++i) { - specialization.attribute_types[i] = fixed_state.vertex_input.attributes[i].type; + specialization.attribute_types[i] = fixed_state.vertex_input.attributes[i].Type(); } specialization.ndc_minus_one_to_one = fixed_state.rasterizer.ndc_minus_one_to_one; |