mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 16:50:06 +00:00
shader/registry: Silence a -Wshadow warning
This commit is contained in:
parent
cd6f4f7eed
commit
77532ebde3
@ -59,10 +59,10 @@ Registry::Registry(ShaderType shader_stage, const SerializedRegistryInfo& info)
|
|||||||
: stage{shader_stage}, stored_guest_driver_profile{info.guest_driver_profile},
|
: stage{shader_stage}, stored_guest_driver_profile{info.guest_driver_profile},
|
||||||
bound_buffer{info.bound_buffer}, graphics_info{info.graphics}, compute_info{info.compute} {}
|
bound_buffer{info.bound_buffer}, graphics_info{info.graphics}, compute_info{info.compute} {}
|
||||||
|
|
||||||
Registry::Registry(ShaderType shader_stage, ConstBufferEngineInterface& engine)
|
Registry::Registry(ShaderType shader_stage, ConstBufferEngineInterface& engine_)
|
||||||
: stage{shader_stage}, engine{&engine}, bound_buffer{engine.GetBoundBuffer()},
|
: stage{shader_stage}, engine{&engine_}, bound_buffer{engine_.GetBoundBuffer()},
|
||||||
graphics_info{MakeGraphicsInfo(shader_stage, engine)}, compute_info{MakeComputeInfo(
|
graphics_info{MakeGraphicsInfo(shader_stage, engine_)}, compute_info{MakeComputeInfo(
|
||||||
shader_stage, engine)} {}
|
shader_stage, engine_)} {}
|
||||||
|
|
||||||
Registry::~Registry() = default;
|
Registry::~Registry() = default;
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ public:
|
|||||||
explicit Registry(Tegra::Engines::ShaderType shader_stage, const SerializedRegistryInfo& info);
|
explicit Registry(Tegra::Engines::ShaderType shader_stage, const SerializedRegistryInfo& info);
|
||||||
|
|
||||||
explicit Registry(Tegra::Engines::ShaderType shader_stage,
|
explicit Registry(Tegra::Engines::ShaderType shader_stage,
|
||||||
Tegra::Engines::ConstBufferEngineInterface& engine);
|
Tegra::Engines::ConstBufferEngineInterface& engine_);
|
||||||
|
|
||||||
~Registry();
|
~Registry();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user