diff options
author | namkazy <nam.kazt.91@gmail.com> | 2020-04-06 08:46:55 +0200 |
---|---|---|
committer | namkazy <nam.kazt.91@gmail.com> | 2020-04-06 08:46:55 +0200 |
commit | 2c98e14d13c7611f488c351c5b42b1c58d4b33ea (patch) | |
tree | 6d68629b66cb3ff19efe5e9269611fccf35fe51a /src/video_core/shader/shader_ir.h | |
parent | shader_decode: SULD.D avoid duplicate code block. (diff) | |
download | yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.tar yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.tar.gz yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.tar.bz2 yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.tar.lz yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.tar.xz yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.tar.zst yuzu-2c98e14d13c7611f488c351c5b42b1c58d4b33ea.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
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 408cce71e..ca6c976c9 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -313,8 +313,8 @@ private: Node GetSaturatedHalfFloat(Node value, bool saturate = true); /// Get image component value by type and size - Node GetComponentValue(Tegra::Texture::ComponentType component_type, u32 component_size, - const Node original_value, bool* is_signed); + std::pair<Node, bool> GetComponentValue(Tegra::Texture::ComponentType component_type, + u32 component_size, Node original_value); /// Returns a predicate comparing two floats Node GetPredicateComparisonFloat(Tegra::Shader::PredCondition condition, Node op_a, Node op_b); |