diff options
| author | 2021-07-11 22:10:38 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 49946cf780c317b4c5ccabb52ec433eba01c1970 (patch) | |
| tree | 628060b15b133cf3a1aaf716fba3517fc5c983f0 /src/video_core | |
| parent | main: Update Shader Cache menu options (diff) | |
| download | yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.gz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.xz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.zip | |
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_graphics_pipeline.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.h b/src/video_core/renderer_vulkan/vk_graphics_pipeline.h index 622267147..2bd48d697 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.h +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.h | |||
| @@ -104,9 +104,7 @@ public: | |||
| 104 | 104 | ||
| 105 | template <typename Spec> | 105 | template <typename Spec> |
| 106 | static auto MakeConfigureSpecFunc() { | 106 | static auto MakeConfigureSpecFunc() { |
| 107 | return [](GraphicsPipeline* pipeline, bool is_indexed) { | 107 | return [](GraphicsPipeline* pl, bool is_indexed) { pl->ConfigureImpl<Spec>(is_indexed); }; |
| 108 | pipeline->ConfigureImpl<Spec>(is_indexed); | ||
| 109 | }; | ||
| 110 | } | 108 | } |
| 111 | 109 | ||
| 112 | private: | 110 | private: |