shader_ir: Add local memory getters
This commit is contained in:
parent
311d1af657
commit
394f906044
2 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue