summaryrefslogtreecommitdiff
path: root/source/slang/type-layout.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-22 14:07:19 -0700
committerGitHub <noreply@github.com>2017-07-22 14:07:19 -0700
commit376e61abe84ed386df7aa28867c1aeb5f52881ca (patch)
treeebf5575829ef9bedc9d43821cd556fe596bf2724 /source/slang/type-layout.h
parent30fbf640cd4cd6936e177fdfadb76e8814cffffc (diff)
parentedf8cafe6d3799f58a92ccc83ba70dd41c461f6a (diff)
Merge pull request #136 from tfoleyNV/explicit-sampler-fix
Make the "hack" sampler explicit for now
Diffstat (limited to 'source/slang/type-layout.h')
-rw-r--r--source/slang/type-layout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index 81ca1350c..7be1c595f 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -383,6 +383,11 @@ public:
// and any entry-point-specific parameter data
// will (eventually) belong there...
List<RefPtr<EntryPointLayout>> entryPoints;
+
+ // HACK: binding to use when we have to create
+ // a dummy sampler just to appease glslang
+ int bindingForHackSampler = 0;
+ RefPtr<VarDeclBase> hackSamplerVar;
};
struct LayoutRulesFamilyImpl;