mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
address nit.
This commit is contained in:
parent
bf1174c114
commit
935648ffa9
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ std::pair<Node, bool> ShaderIR::GetComponentValue(ComponentType component_type,
|
||||||
is_signed};
|
is_signed};
|
||||||
}
|
}
|
||||||
case ComponentType::UINT: // range [0, (1 << component_size) - 1]
|
case ComponentType::UINT: // range [0, (1 << component_size) - 1]
|
||||||
return {original_value, false};
|
return {std::move(original_value), false};
|
||||||
case ComponentType::FLOAT:
|
case ComponentType::FLOAT:
|
||||||
if (component_size == 16) {
|
if (component_size == 16) {
|
||||||
return {Operation(OperationCode::HCastFloat, original_value), true};
|
return {Operation(OperationCode::HCastFloat, original_value), true};
|
||||||
|
|
Loading…
Reference in a new issue