summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-23 21:10:25 +0200
committerLioncash <mathew1800@gmail.com>2020-09-23 21:10:25 +0200
commit77532ebde3be78aa9a5471c496784d0151453289 (patch)
tree21370593ba430eed8847a0f14cbfc8af83e1cea5 /src/video_core/shader
parentshader/registry: Remove unnecessary namespace qualifiers (diff)
downloadyuzu-77532ebde3be78aa9a5471c496784d0151453289.tar
yuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.gz
yuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.bz2
yuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.lz
yuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.xz
yuzu-77532ebde3be78aa9a5471c496784d0151453289.tar.zst
yuzu-77532ebde3be78aa9a5471c496784d0151453289.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/registry.cpp8
-rw-r--r--src/video_core/shader/registry.h2
2 files changed, 5 insertions, 5 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)
: stage{shader_stage}, stored_guest_driver_profile{info.guest_driver_profile},
bound_buffer{info.bound_buffer}, graphics_info{info.graphics}, compute_info{info.compute} {}
-Registry::Registry(ShaderType shader_stage, ConstBufferEngineInterface& engine)
- : stage{shader_stage}, engine{&engine}, bound_buffer{engine.GetBoundBuffer()},
- graphics_info{MakeGraphicsInfo(shader_stage, engine)}, compute_info{MakeComputeInfo(
- shader_stage, engine)} {}
+Registry::Registry(ShaderType shader_stage, ConstBufferEngineInterface& engine_)
+ : stage{shader_stage}, engine{&engine_}, bound_buffer{engine_.GetBoundBuffer()},
+ graphics_info{MakeGraphicsInfo(shader_stage, engine_)}, compute_info{MakeComputeInfo(
+ shader_stage, engine_)} {}
Registry::~Registry() = default;
diff --git a/src/video_core/shader/registry.h b/src/video_core/shader/registry.h
index 231206765..4bebefdde 100644
--- a/src/video_core/shader/registry.h
+++ b/src/video_core/shader/registry.h
@@ -94,7 +94,7 @@ public:
explicit Registry(Tegra::Engines::ShaderType shader_stage, const SerializedRegistryInfo& info);
explicit Registry(Tegra::Engines::ShaderType shader_stage,
- Tegra::Engines::ConstBufferEngineInterface& engine);
+ Tegra::Engines::ConstBufferEngineInterface& engine_);
~Registry();