shader_ir: Add local memory getters

This commit is contained in:
ReinUsesLisp 2018-12-20 22:51:38 -03:00
parent 311d1af657
commit 394f906044
2 changed files with 7 additions and 0 deletions

View file

@ -631,6 +631,9 @@ private:
Node GetOutputAttribute(Tegra::Shader::Attribute::Index index, u64 element, Node buffer);
/// Generates a node representing an internal flag
Node GetInternalFlag(InternalFlag flag, bool negated = false);
/// Generates a node representing a local memory address
Node GetLocalMemory(Node address);
template <typename... T>
inline Node Operation(OperationCode code, const T*... operands) {