shader/shader_ir: Amend constructor initializer ordering for AbufNode
Orders the class members in the same order that they would actually be initialized in. Gets rid of two compiler warnings.
This commit is contained in:
parent
3e1a9a45a6
commit
62e08c30b7
@ -415,11 +415,11 @@ class AbufNode final {
|
|||||||
public:
|
public:
|
||||||
explicit constexpr AbufNode(Tegra::Shader::Attribute::Index index, u32 element,
|
explicit constexpr AbufNode(Tegra::Shader::Attribute::Index index, u32 element,
|
||||||
const Tegra::Shader::IpaMode& input_mode, Node buffer = {})
|
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,
|
explicit constexpr AbufNode(Tegra::Shader::Attribute::Index index, u32 element,
|
||||||
Node buffer = {})
|
Node buffer = {})
|
||||||
: input_mode{}, index{index}, element{element}, buffer{buffer} {}
|
: input_mode{}, buffer{buffer}, index{index}, element{element} {}
|
||||||
|
|
||||||
Tegra::Shader::IpaMode GetInputMode() const {
|
Tegra::Shader::IpaMode GetInputMode() const {
|
||||||
return input_mode;
|
return input_mode;
|
||||||
|
Loading…
Reference in New Issue
Block a user