Skip to content

Commit 8ecdba0

Browse files
lwesiersigcbot
authored andcommitted
Add GetConstantMapping accessor
Add GetConstantMapping accessor in CShader class
1 parent db9993a commit 8ecdba0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,11 @@ class CShader
522522
return globalSymbolMapping;
523523
}
524524

525+
llvm::DenseMap<llvm::Constant*, CVariable*>& GetConstantMapping()
526+
{
527+
return ConstantPool;
528+
}
529+
525530
int64_t GetKernelArgOffset(CVariable* argV)
526531
{
527532
auto it = kernelArgToPayloadOffsetMap.find(argV);

0 commit comments

Comments
 (0)