Nguyen Dac Nam
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/video_core/shader/decode/image.cpp
|
|
|
@ -291,7 +291,7 @@ std::pair<Node, bool> ShaderIR::GetComponentValue(ComponentType component_type, |
|
|
|
is_signed}; |
|
|
|
} |
|
|
|
case ComponentType::UINT: // range [0, (1 << component_size) - 1]
|
|
|
|
return {original_value, false}; |
|
|
|
return {std::move(original_value), false}; |
|
|
|
case ComponentType::FLOAT: |
|
|
|
if (component_size == 16) { |
|
|
|
return {Operation(OperationCode::HCastFloat, original_value), true}; |
|
|
|
|