shader_decode: SULD.D using std::pair instead of out parameter

This commit is contained in:
namkazy
2020-04-06 13:46:55 +07:00
parent 9efa51311f
commit 2c98e14d13
2 changed files with 15 additions and 19 deletions

View File

@ -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);