From aba2731f0427a04a119a59567e6715ba4034920a Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Jul 2021 13:55:21 -0700 Subject: 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 --- tools/render-test/shader-input-layout.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/render-test/shader-input-layout.cpp') diff --git a/tools/render-test/shader-input-layout.cpp b/tools/render-test/shader-input-layout.cpp index c55c10d3e..2e0741cea 100644 --- a/tools/render-test/shader-input-layout.cpp +++ b/tools/render-test/shader-input-layout.cpp @@ -720,6 +720,12 @@ namespace renderer_test maybeParseOptions(parser, val.Ptr()); return val; } + else if (parser.AdvanceIf("AccelerationStructure")) + { + RefPtr val = + new ShaderInputLayout::AccelerationStructureVal(); + return val; + } else { throw ShaderInputLayoutFormatException(String("Unknown shader input type '") + word + String("' at line") + String(parser.NextToken().Position.Line)); -- cgit v1.2.3