summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/ray-tracing-tests.cpp
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-08-25 09:11:04 -0700
committerGitHub <noreply@github.com>2022-08-25 09:11:04 -0700
commitef067bef2f2188a4b3c420cbcd8d223874888ed2 (patch)
tree8469751f086779ba35d089d18d228cc404bf2531 /tools/gfx-unit-test/ray-tracing-tests.cpp
parentba6f55ed9481960b4f6c7f0a6b8f1cf7d450c752 (diff)
Fix for Vulkan ray tracing test using a non-zero raygen shader index (#2380)
* Fixed math errors in SBT creation causing a ray tracing test to fail with a fully zero output when given a non-zero raygen shader index * Removed unnecessary code * raygen memcpy now copies the 32 bytes from srcHandle and zeroes out the remaining 32 bytes due to 64 byte alignment
Diffstat (limited to 'tools/gfx-unit-test/ray-tracing-tests.cpp')
-rw-r--r--tools/gfx-unit-test/ray-tracing-tests.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/gfx-unit-test/ray-tracing-tests.cpp b/tools/gfx-unit-test/ray-tracing-tests.cpp
index 558c700d3..97a6ad7d1 100644
--- a/tools/gfx-unit-test/ray-tracing-tests.cpp
+++ b/tools/gfx-unit-test/ray-tracing-tests.cpp
@@ -488,11 +488,8 @@ namespace gfx_test
runTestImpl(rayTracingTestImpl<RayTracingTestB>, unitTestContext, Slang::RenderApiFlag::D3D12);
}
-#if 0
- //TODO: fix test failure.
SLANG_UNIT_TEST(RayTracingTestBVulkan)
{
runTestImpl(rayTracingTestImpl<RayTracingTestB>, unitTestContext, Slang::RenderApiFlag::Vulkan);
}
-#endif
}