summaryrefslogtreecommitdiff
path: root/tools/render-test/shader-input-layout.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-07-08 13:55:21 -0700
committerGitHub <noreply@github.com>2021-07-08 13:55:21 -0700
commitaba2731f0427a04a119a59567e6715ba4034920a (patch)
treeb5b127f776db65c7154c31a41f1e91eaeb738503 /tools/render-test/shader-input-layout.h
parent09950676b3f73bb9967aea183d27a30d63098475 (diff)
Allow render-test to run inline ray tracing tests. (#1903)
* Update VS projects to 2019. * Empty commit to trigger build * Implement gfx inline ray tracing on D3D12. * Allow render-test to run inline ray tracing tests. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
-rw-r--r--tools/render-test/shader-input-layout.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index ed2f57370..76ebe79b3 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -23,6 +23,7 @@ enum class ShaderInputType
Object,
Aggregate,
Specialize,
+ AccelerationStructure,
};
enum class InputTextureContent
@@ -211,6 +212,14 @@ public:
Slang::RefPtr<SamplerVal> samplerVal;
};
+ class AccelerationStructureVal : public Val
+ {
+ public:
+ AccelerationStructureVal()
+ : Val(ShaderInputType::AccelerationStructure)
+ {}
+ };
+
struct Field
{
Slang::String name;