diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-18 19:52:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 19:52:01 +0200 |
commit | 63bda67a342cf0516501fb30a24452ce9944caa0 (patch) | |
tree | fdd92aac366c60923a9ae451baa78b33a1a8425f /src/video_core/shader/shader_ir.h | |
parent | Merge pull request #2741 from FernandoS27/trace-log (diff) | |
parent | shader_ir: std::move Node instance where applicable (diff) | |
download | yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.gz yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.bz2 yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.lz yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.xz yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.tar.zst yuzu-63bda67a342cf0516501fb30a24452ce9944caa0.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 126c78136..59a083d90 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -5,13 +5,10 @@ #pragma once #include <array> -#include <cstring> #include <map> #include <optional> #include <set> -#include <string> #include <tuple> -#include <variant> #include <vector> #include "common/common_types.h" @@ -210,8 +207,8 @@ private: Node GetInternalFlag(InternalFlag flag, bool negated = false); /// Generates a node representing a local memory address Node GetLocalMemory(Node address); - /// Generates a temporal, internally it uses a post-RZ register - Node GetTemporal(u32 id); + /// Generates a temporary, internally it uses a post-RZ register + Node GetTemporary(u32 id); /// Sets a register. src value must be a number-evaluated node. void SetRegister(NodeBlock& bb, Tegra::Shader::Register dest, Node src); @@ -221,8 +218,8 @@ private: void SetInternalFlag(NodeBlock& bb, InternalFlag flag, Node value); /// Sets a local memory address. address and value must be a number-evaluated node void SetLocalMemory(NodeBlock& bb, Node address, Node value); - /// Sets a temporal. Internally it uses a post-RZ register - void SetTemporal(NodeBlock& bb, u32 id, Node value); + /// Sets a temporary. Internally it uses a post-RZ register + void SetTemporary(NodeBlock& bb, u32 id, Node value); /// Sets internal flags from a float void SetInternalFlagsFromFloat(NodeBlock& bb, Node value, bool sets_cc = true); |