summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-28 13:50:30 +0100
committerLioncash <mathew1800@gmail.com>2019-01-28 13:50:34 +0100
commit62e08c30b7ac61d8950b1dd732d7f82add51f77d (patch)
tree30e4c84b52495862fcec47e28e1e5f04065f5f82 /src/video_core/shader
parentshader/decode: Avoid a pessimizing std::move within DecodeRange() (diff)
downloadyuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.tar
yuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.tar.gz
yuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.tar.bz2
yuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.tar.lz
yuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.tar.xz
yuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.tar.zst
yuzu-62e08c30b7ac61d8950b1dd732d7f82add51f77d.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/shader_ir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 96e7df6b6..ea057980d 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -415,11 +415,11 @@ class AbufNode final {
public:
explicit constexpr AbufNode(Tegra::Shader::Attribute::Index index, u32 element,
const Tegra::Shader::IpaMode& input_mode, Node buffer = {})
- : input_mode{input_mode}, index{index}, element{element}, buffer{buffer} {}
+ : input_mode{input_mode}, buffer{buffer}, index{index}, element{element} {}
explicit constexpr AbufNode(Tegra::Shader::Attribute::Index index, u32 element,
Node buffer = {})
- : input_mode{}, index{index}, element{element}, buffer{buffer} {}
+ : input_mode{}, buffer{buffer}, index{index}, element{element} {}
Tegra::Shader::IpaMode GetInputMode() const {
return input_mode;