You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
shader: lower pixel compare masks composed with VCC in a whole-quad tail #3309
Refs #2413, #3210 and #870. The native C++ fixed-mesh pixel path can project individual lane predicates, but a pixel tail that combines a two-SGPR comparison mask with VCC through AND, ANDN2 and OR still needs a proven lowering. Related entry-layout support is in #3308.
Use a source-built gfx1013 pixel fixture with WQM, saved exact coverage, a named comparison mask and VCC. Exercise both operands, inactive lanes and a helper lane contribution. Preserve 64-bit mask provenance across register writes and refuse a later SCC read unless its wave-wide nonzero result is established. Include a control in which a mask half is overwritten.
Acceptance: validated DXIL, expected GPU readback for each case, and a passing direct-container regression. On the local fixed-mesh integration, show that the reviewed stage pair links and creates a color PSO with its captured root and attachment state. Report fixture results and integration results separately. Target main after the compiler prerequisite in #3091.
I'd like to take this one. The plan is to build a gfx1013 pixel fixture from source, with WQM, saved exact coverage, and a named compare mask combined with VCC through AND, ANDN2 and OR. It will cover both operands, inactive lanes and a helper-lane contribution. The 64-bit mask provenance stays tracked across register writes. A later SCC read is refused unless the wave-wide nonzero result is established, and there is a control where one mask half gets overwritten.
I'll base it on #3091 as the issue says, and target main once that lands. I'll test on WARP and on NVIDIA hardware (32-lane waves).
@Leyukaka Yep, I'm still on it. I was waiting for #3091 to land (it merged at 13:48 UTC), and the fixture work is starting now on current main. I'll post here when the branch is up.
Activity
SimSalabimse commentedon Nov 28, 2026
I'd like to take this one. The plan is to build a gfx1013 pixel fixture from source, with WQM, saved exact coverage, and a named compare mask combined with VCC through AND, ANDN2 and OR. It will cover both operands, inactive lanes and a helper-lane contribution. The 64-bit mask provenance stays tracked across register writes. A later SCC read is refused unless the wave-wide nonzero result is established, and there is a control where one mask half gets overwritten.
I'll base it on #3091 as the issue says, and target main once that lands. I'll test on WARP and on NVIDIA hardware (32-lane waves).
AI-Assisted
Leyukaka commentedon Nov 28, 2026
@SimSalabimse, are you still on this? There has been no PR or comment since the 12:28 UTC claim. If you have released it, I can take it.
SimSalabimse commentedon Nov 28, 2026
@Leyukaka Yep, I'm still on it. I was waiting for #3091 to land (it merged at 13:48 UTC), and the fixture work is starting now on current main. I'll post here when the branch is up.
AI-Assisted
Leyukaka commentedon Nov 29, 2026
Taking this over from #3401 since there has been no activity for 2 h; will hand back if @SimSalabimse resumes. The plan is in a comment on #3401.
shader: lower pixel compare masks composed with VCC in a whole-quad t…