Skip to content

Commit 261203d

Browse files
author
kevyuu
committed
Add no null intersection shader
1 parent 6f58d05 commit 261203d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

71_RayTracingPipeline/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ class RaytracingPipelineApp final : public SimpleWindowedApplication, public Bui
316316

317317
const auto pipeline = ICPURayTracingPipeline::create(cpuPipelineLayout.get());
318318
pipeline->getCachedCreationParams() = {
319+
.flags = IGPURayTracingPipeline::SCreationParams::FLAGS::NO_NULL_INTERSECTION_SHADERS,
319320
.maxRecursionDepth = 1,
320321
.dynamicStackSize = true,
321322
};

0 commit comments

Comments
 (0)