summaryrefslogtreecommitdiff
path: root/tools/render-test/shader-input-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
-rw-r--r--tools/render-test/shader-input-layout.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index 86e7641f0..ed2f57370 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -22,6 +22,7 @@ enum class ShaderInputType
UniformData,
Object,
Aggregate,
+ Specialize,
};
enum class InputTextureContent
@@ -248,7 +249,16 @@ public:
Slang::String typeName;
ValPtr contentVal;
- Slang::List<Slang::String> specializationArgs;
+ };
+
+ class SpecializeVal : public Val
+ {
+ public:
+ ValPtr contentVal;
+ Slang::List<Slang::String> typeArgs;
+ SpecializeVal()
+ : Val(ShaderInputType::Specialize)
+ {}
};
class ArrayVal : public ParentVal