summaryrefslogtreecommitdiff
path: root/source/slang/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ir.cpp')
-rw-r--r--source/slang/ir.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp
index a79dc3992..79d9883ea 100644
--- a/source/slang/ir.cpp
+++ b/source/slang/ir.cpp
@@ -805,8 +805,7 @@ namespace Slang
}
IRVar* IRBuilder::emitVar(
- IRType* type,
- IRAddressSpace addressSpace)
+ IRType* type)
{
auto allocatedType = getSession()->getPtrType(type);
auto inst = createInst<IRVar>(
@@ -817,13 +816,6 @@ namespace Slang
return inst;
}
-
- IRVar* IRBuilder::emitVar(
- IRType* type)
- {
- return emitVar(type, kIRAddressSpace_Default);
- }
-
IRInst* IRBuilder::emitLoad(
IRValue* ptr)
{
@@ -1451,6 +1443,11 @@ namespace Slang
{
dumpDeclRef(context, declRefType->declRef);
}
+ else if(auto groupSharedType = type->As<GroupSharedType>())
+ {
+ dump(context, "@ThreadGroup ");
+ dumpType(context, groupSharedType->valueType);
+ }
else
{
// Need a default case here