File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,11 +40,12 @@ thus share cluster ID.
4040
4141There also needs to be a way for apps to tell driver shader compilation to expect that
4242acceleration structures being raytraced may contain clusters. In the API this is a
43- raytracing pipeline flag, ` D3D12_RAYTRACING_PIPELINE_FLAG_ALLOW_CLUSTERED_GEOMETRY ` ,
44- and this flag needs to be available when raytracing pipeline state subobjects are
45- authored in HLSL, including ` RayQuery ` objects for inline raytracing. The reason for
46- the flag is in case the possibility of clusters in an acceleration structure requires
47- a different path in the driver/hardware ray traversal algorithm that might incur
43+ raytracing pipeline flag, ` D3D12_RAYTRACING_PIPELINE_FLAG_ALLOW_CLUSTERED_GEOMETRY ` .
44+ This flag needs to be available when raytracing pipeline state subobjects are
45+ authored in HLSL, including ` RayQuery ` objects for inline raytracing.
46+
47+ The reason for the flag is if possibility of clusters in an acceleration structure requires
48+ a different path in the driver/hardware ray traversal algorithm. This path might add
4849overhead that can be avoided if it is known clusters will not be used. In other words,
4950a driver that supports clustered geometry should not regress the performance of applications
5051that choose not to use it, or shipped before clustered geometry existed.
You can’t perform that action at this time.
0 commit comments