summaryrefslogtreecommitdiff
path: root/source/slang/slang-type-layout.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-07-19 11:49:42 -0700
committerGitHub <noreply@github.com>2024-07-19 11:49:42 -0700
commitf114433debfba67cbe1db239b6e92278d41ed438 (patch)
tree3a8ff78deb657d203c87bd22bc2ee83575e834f6 /source/slang/slang-type-layout.h
parentadf758c8c4032afcd96d995840bd697d2adef34c (diff)
Support parameter block in metal shader objects. (#4671)
* Support parameter block in metal shader objects. * Ingore parameter block tests on devices without tier2 argument buffer. * Fix warning. * Fix texture subscript test. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-type-layout.h')
-rw-r--r--source/slang/slang-type-layout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/slang-type-layout.h b/source/slang/slang-type-layout.h
index 37c0cd1e7..701708363 100644
--- a/source/slang/slang-type-layout.h
+++ b/source/slang/slang-type-layout.h
@@ -1288,7 +1288,8 @@ private:
//
TypeLayoutContext getInitialLayoutContextForTarget(
TargetRequest* targetRequest,
- ProgramLayout* programLayout);
+ ProgramLayout* programLayout,
+ slang::LayoutRules rules);
/// Direction(s) of a varying shader parameter
typedef unsigned int EntryPointParameterDirectionMask;