diff options
| author | bunnei <bunneidev@gmail.com> | 2019-07-18 13:52:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-18 13:52:01 -0400 |
| commit | 63bda67a342cf0516501fb30a24452ce9944caa0 (patch) | |
| tree | fdd92aac366c60923a9ae451baa78b33a1a8425f /src/video_core/shader/decode/xmad.cpp | |
| parent | d4b95bfc25cfb097fc91f4c8f45b56ff5c7a2337 (diff) | |
| parent | bebbdc20677c900aec5a6fa9481b1861f202ca02 (diff) | |
Merge pull request #2738 from lioncash/shader-ir
shader-ir: Minor cleanup-related changes
Diffstat (limited to 'src/video_core/shader/decode/xmad.cpp')
| -rw-r--r-- | src/video_core/shader/decode/xmad.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/shader/decode/xmad.cpp b/src/video_core/shader/decode/xmad.cpp index 93dee77d1..206961909 100644 --- a/src/video_core/shader/decode/xmad.cpp +++ b/src/video_core/shader/decode/xmad.cpp @@ -73,8 +73,8 @@ u32 ShaderIR::DecodeXmad(NodeBlock& bb, u32 pc) { if (is_psl) { product = Operation(OperationCode::ILogicalShiftLeft, NO_PRECISE, product, Immediate(16)); } - SetTemporal(bb, 0, product); - product = GetTemporal(0); + SetTemporary(bb, 0, product); + product = GetTemporary(0); const Node original_c = op_c; const Tegra::Shader::XmadMode set_mode = mode; // Workaround to clang compile error @@ -98,13 +98,13 @@ u32 ShaderIR::DecodeXmad(NodeBlock& bb, u32 pc) { } }(); - SetTemporal(bb, 1, op_c); - op_c = GetTemporal(1); + SetTemporary(bb, 1, op_c); + op_c = GetTemporary(1); // TODO(Rodrigo): Use an appropiate sign for this operation Node sum = Operation(OperationCode::IAdd, product, op_c); - SetTemporal(bb, 2, sum); - sum = GetTemporal(2); + SetTemporary(bb, 2, sum); + sum = GetTemporary(2); if (is_merge) { const Node a = BitfieldExtract(sum, 0, 16); const Node b = |
