summaryrefslogtreecommitdiff
path: root/source/slang/type-layout.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-01-03 18:09:35 -0800
committerGitHub <noreply@github.com>2018-01-03 18:09:35 -0800
commite90dfcfd6a0a6d92688012b1216c46c24965cfc0 (patch)
tree89b1e0e3f0e95ea0bf586bd67fa36066f0021ce7 /source/slang/type-layout.h
parent5da16a6360e40b9fd4d2275a5ef5b1af740c4abb (diff)
parent550405d2de2ca617046e73fe5ec7e5e1765a5c97 (diff)
Merge pull request #349 from csyonghe/master
Add API for querying TypeLayout from a Type
Diffstat (limited to 'source/slang/type-layout.h')
-rw-r--r--source/slang/type-layout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index ed4c3eda5..66f6025b4 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -464,6 +464,8 @@ public:
// a dummy sampler just to appease glslang
int bindingForHackSampler = 0;
RefPtr<VarDeclBase> hackSamplerVar;
+
+ TargetRequest* targetRequest = nullptr;
};
struct LayoutRulesFamilyImpl;