diff options
| author | Yong He <yonghe@outlook.com> | 2021-08-26 10:30:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 10:30:35 -0700 |
| commit | b2ad8e99a82884bb157e1be76b1ad7eb0e481457 (patch) | |
| tree | 3f5357083b5972761d516b70cb51a4fa7ab72cd5 /tools/render-test/shader-input-layout.h | |
| parent | 33f7e1599cbecb32c23787b37b2bf3b34bdd5c84 (diff) | |
Add API to control interface specialization. (#1925)
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
| -rw-r--r-- | tools/render-test/shader-input-layout.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h index 76ebe79b3..fe835a7f1 100644 --- a/tools/render-test/shader-input-layout.h +++ b/tools/render-test/shader-input-layout.h @@ -285,6 +285,16 @@ public: Slang::RefPtr<AggVal> rootVal; Slang::List<Slang::String> globalSpecializationArgs; Slang::List<Slang::String> entryPointSpecializationArgs; + + class TypeConformanceVal + { + public: + Slang::String derivedTypeName; + Slang::String baseTypeName; + Int idOverride = -1; + }; + Slang::List<TypeConformanceVal> typeConformances; + int numRenderTargets = 1; Slang::Index findEntryIndexByName(const Slang::String& name) const; |
