summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-01-28 07:52:02 -0500
committerGravatar Lioncash2019-01-28 07:52:04 -0500
commitb2b98b2f443ac470306c3a87886a4302a0e867d3 (patch)
treee1b7f762a2023a2dba71f24fb9bac549f8315f68 /src
parentshader/shader_ir: Amend constructor initializer ordering for AbufNode (diff)
downloadyuzu-b2b98b2f443ac470306c3a87886a4302a0e867d3.tar.gz
yuzu-b2b98b2f443ac470306c3a87886a4302a0e867d3.tar.xz
yuzu-b2b98b2f443ac470306c3a87886a4302a0e867d3.zip
shader/shader_ir: Amend three comment typos
Given we're in the area, these are three trivial typos that can be corrected.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/shader_ir.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index ea057980d..ef8f94480 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -391,7 +391,7 @@ private:
391 const InternalFlag flag; 391 const InternalFlag flag;
392}; 392};
393 393
394/// A predicate register, it can be negated without aditional nodes 394/// A predicate register, it can be negated without additional nodes
395class PredicateNode final { 395class PredicateNode final {
396public: 396public:
397 explicit constexpr PredicateNode(Tegra::Shader::Pred index, bool negated) 397 explicit constexpr PredicateNode(Tegra::Shader::Pred index, bool negated)
@@ -626,10 +626,10 @@ private:
626 Node GetPredicate(u64 pred, bool negated = false); 626 Node GetPredicate(u64 pred, bool negated = false);
627 /// Generates a predicate node for an immediate true or false value 627 /// Generates a predicate node for an immediate true or false value
628 Node GetPredicate(bool immediate); 628 Node GetPredicate(bool immediate);
629 /// Generates a node representing an input atttribute. Keeps track of used attributes. 629 /// Generates a node representing an input attribute. Keeps track of used attributes.
630 Node GetInputAttribute(Tegra::Shader::Attribute::Index index, u64 element, 630 Node GetInputAttribute(Tegra::Shader::Attribute::Index index, u64 element,
631 const Tegra::Shader::IpaMode& input_mode, Node buffer = {}); 631 const Tegra::Shader::IpaMode& input_mode, Node buffer = {});
632 /// Generates a node representing an output atttribute. Keeps track of used attributes. 632 /// Generates a node representing an output attribute. Keeps track of used attributes.
633 Node GetOutputAttribute(Tegra::Shader::Attribute::Index index, u64 element, Node buffer); 633 Node GetOutputAttribute(Tegra::Shader::Attribute::Index index, u64 element, Node buffer);
634 /// Generates a node representing an internal flag 634 /// Generates a node representing an internal flag
635 Node GetInternalFlag(InternalFlag flag, bool negated = false); 635 Node GetInternalFlag(InternalFlag flag, bool negated = false);