tlas build options
This commit is contained in:
parent
e3940d99c3
commit
00d14d67cb
3 changed files with 50 additions and 13 deletions
|
|
@ -188,7 +188,9 @@ void RenderingElement3D::BuildTLASBuild(WebGPUCommandEncoderRef /*cmd*/, std::ui
|
|||
tlas.builtInstanceCount = primitiveCount;
|
||||
}
|
||||
|
||||
void RenderingElement3D::BuildTLAS(WebGPUCommandEncoderRef cmd, std::uint32_t index) {
|
||||
void RenderingElement3D::BuildTLAS(WebGPUCommandEncoderRef cmd, std::uint32_t index, RTBuildPreference) {
|
||||
// `preference` is ignored — the software LBVH TLAS build has no
|
||||
// FAST_TRACE/FAST_BUILD equivalent. See the interface comment.
|
||||
BuildTLASUpload(cmd, index);
|
||||
BuildTLASBuild(cmd, index);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue