shader: add BVH8 intersections and instance transforms

This commit is contained in:
nmzik committed 2026-10-29 18:37:29 +01:00
1 parent bfd4c34b88
commit 5eab0ec738
21 files changed
+964 -15

No files matched your search

+2
View File
@@ -46807,6 +46807,7 @@ std::vector<TestCase> MakeCases() {
AddCase(ScratchIsPrivatePerInvocation);
cases.push_back(FlatStackApertures(32));
cases.push_back(FlatStackApertures(64));
for (auto& test : TrinityBvhCases()) cases.push_back(std::move(test));
for (const u32 wave : {32u, 64u}) {
for (const u32 capacity : {8u, 16u, 31u}) cases.push_back(TrinityStack(wave, capacity));
cases.push_back(TrinityStack(wave, 8, true));
@@ -53350,6 +53351,7 @@ int main(int argc, char **argv) {
#endif
if (argc == 2 && std::strcmp(argv[1], "--ray-tracing-only") == 0) {
VulkanHarness vulkan;
for (const auto& test : TrinityBvhCases()) RunCase(&vulkan, test);
for (const u32 wave : {32u, 64u}) {
for (const u32 capacity : {8u, 16u, 31u}) RunCase(&vulkan, TrinityStack(wave, capacity));
RunCase(&vulkan, TrinityStack(wave, 8, true));