diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-20 22:51:38 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 17:54:49 -0300 |
| commit | 12a95ff4532f7133893d55c964f1a62c6611d753 (patch) | |
| tree | c7edb3f54c73d44a8459fded09790b21f148cf0c /src/video_core/shader/shader_ir.cpp | |
| parent | 2f87fd060d6bed70fb90d97f8c847a0bd03d4c43 (diff) | |
shader_ir: Add local memory getters
Diffstat (limited to 'src/video_core/shader/shader_ir.cpp')
| -rw-r--r-- | src/video_core/shader/shader_ir.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp index 62a139e56..42695149f 100644 --- a/src/video_core/shader/shader_ir.cpp +++ b/src/video_core/shader/shader_ir.cpp @@ -117,6 +117,10 @@ Node ShaderIR::GetInternalFlag(InternalFlag flag, bool negated) { return node; } +Node ShaderIR::GetLocalMemory(Node address) { + return StoreNode(LmemNode(address)); +} + /*static*/ OperationCode ShaderIR::SignedToUnsignedCode(OperationCode operation_code, bool is_signed) { if (is_signed) { |
