summaryrefslogtreecommitdiff
path: root/src/video_core/shader/registry.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-09-23 15:10:25 -0400
committerGravatar Lioncash2020-09-23 15:10:25 -0400
commit77532ebde3be78aa9a5471c496784d0151453289 (patch)
tree21370593ba430eed8847a0f14cbfc8af83e1cea5 /src/video_core/shader/registry.cpp
parentshader/registry: Remove unnecessary namespace qualifiers (diff)
downloadyuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.gz
yuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.xz
yuzu-77532ebde3be78aa9a5471c496784d0151453289.zip
shader/registry: Silence a -Wshadow warning
Diffstat (limited to 'src/video_core/shader/registry.cpp')
-rw-r--r--src/video_core/shader/registry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/shader/registry.cpp b/src/video_core/shader/registry.cpp
index 3cf922002..148d91fcb 100644
--- a/src/video_core/shader/registry.cpp
+++ b/src/video_core/shader/registry.cpp
@@ -59,10 +59,10 @@ Registry::Registry(ShaderType shader_stage, const SerializedRegistryInfo& info)
59 : stage{shader_stage}, stored_guest_driver_profile{info.guest_driver_profile}, 59 : stage{shader_stage}, stored_guest_driver_profile{info.guest_driver_profile},
60 bound_buffer{info.bound_buffer}, graphics_info{info.graphics}, compute_info{info.compute} {} 60 bound_buffer{info.bound_buffer}, graphics_info{info.graphics}, compute_info{info.compute} {}
61 61
62Registry::Registry(ShaderType shader_stage, ConstBufferEngineInterface& engine) 62Registry::Registry(ShaderType shader_stage, ConstBufferEngineInterface& engine_)
63 : stage{shader_stage}, engine{&engine}, bound_buffer{engine.GetBoundBuffer()}, 63 : stage{shader_stage}, engine{&engine_}, bound_buffer{engine_.GetBoundBuffer()},
64 graphics_info{MakeGraphicsInfo(shader_stage, engine)}, compute_info{MakeComputeInfo( 64 graphics_info{MakeGraphicsInfo(shader_stage, engine_)}, compute_info{MakeComputeInfo(
65 shader_stage, engine)} {} 65 shader_stage, engine_)} {}
66 66
67Registry::~Registry() = default; 67Registry::~Registry() = default;
68 68