From b2ad8e99a82884bb157e1be76b1ad7eb0e481457 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 26 Aug 2021 10:30:35 -0700 Subject: Add API to control interface specialization. (#1925) --- tools/render-test/slang-support.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools/render-test/slang-support.h') diff --git a/tools/render-test/slang-support.h b/tools/render-test/slang-support.h index da1f379fd..7770bada4 100644 --- a/tools/render-test/slang-support.h +++ b/tools/render-test/slang-support.h @@ -33,11 +33,20 @@ struct ShaderCompileRequest SlangStage slangStage; }; + struct TypeConformance + { + public: + Slang::String derivedTypeName; + Slang::String baseTypeName; + Int idOverride; + }; + SourceInfo source; Slang::List entryPoints; Slang::List globalSpecializationArgs; Slang::List entryPointSpecializationArgs; + Slang::List typeConformances; }; -- cgit v1.2.3