Skip to content

Wire AABB/procedural geometry through the Pipeline-level AS builder#1395

Closed
bogner wants to merge 1 commit into
llvm:mainfrom
bogner:2026-07-23-marijn-pr1289
Closed

Wire AABB/procedural geometry through the Pipeline-level AS builder#1395
bogner wants to merge 1 commit into
llvm:mainfrom
bogner:2026-07-23-marijn-pr1289

Conversation

@bogner

@bogner bogner commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This is a commandeer of #1289 so that I could resolve the conflicts and get it merged.

Original message:

Routes BLASDesc.AABBs through the Pipeline -> API conversion in buildPipelineAccelerationStructures(), populating the BLASBuildRequest Geometry variant with either SmallVector or SmallVector based on which geometry list is populated (mixed and empty cases now error explicitly). The DX/VK/MTL AABB build paths were already in place. The covering test defines a single AABB, fires a ray through it, and in the candidate loop calls CommitProceduralPrimitiveHit(); CommittedStatus() must return COMMITTED_PROCEDURAL_PRIMITIVE_HIT.

Part of the inline-RT test coverage epic
(#1258).

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Routes BLASDesc.AABBs through the Pipeline -> API conversion in
buildPipelineAccelerationStructures(), populating the BLASBuildRequest
Geometry variant with either SmallVector<AABBGeometryDesc> or
SmallVector<TriangleGeometryDesc> based on which geometry list is
populated (mixed and empty cases now error explicitly). The DX/VK/MTL
AABB build paths were already in place. The covering test defines a
single AABB, fires a ray through it, and in the candidate loop calls
CommitProceduralPrimitiveHit(); CommittedStatus() must return
COMMITTED_PROCEDURAL_PRIMITIVE_HIT.

Part of the inline-RT test coverage epic
(llvm#1258).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bogner

bogner commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

We'll finish this in #1289 after all :)

@bogner bogner closed this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants