Skip to content

cluster-id-without-cluster-geometry-feature-check

Status: stub. The full-length analysis is queued for a v1.0.x patch release per ADR 0018, section 5, criterion #6. The companion rule page at docs/rules/cluster-id-without-cluster-geometry-feature-check.md contains the canonical detection logic + GPU reasoning.

TL;DR

ClusterID() is functionally pending on devices that haven't yet shipped the clustered-geometry preview support (Fall 2026 per DirectX dev blog). An unguarded call breaks on older RT-capable devices: drivers may return zero, generate undefined hardware traps, or fall back to a non-clustered BVH path silently.

What the rule fires on

A call to ClusterID() (SM 6.10 ray-tracing intrinsic) without a guarding IsClusteredGeometrySupported() check on a path-dominating predicate. Activates only on SM 6.10+ targets.

See the What it detects section of the rule page for the full pattern definition.

Why it matters

The full GPU-mechanism analysis lives in the Why it matters on a GPU section of the companion rule page.

Examples

The bad / good code snippets are kept canonical on the rule page; see cluster-id-without-cluster-geometry-feature-check.md -> Examples.

See also


This is a v1.0-ship stub. Full analysis pending; track issue link TBD.

© 2026 NelCit — Apache-2.0 (code), CC-BY-4.0 (docs).