Repository navigation
hk: compile G17P geometry and evaluation shaders alike on every device - #43
Merged
RyanTheTide merged 1 commit intoOct 23, 2026
Conversation
Since ray-tracing state is created only for devices that enable a ray-tracing feature, a GS or TES compiled on any other device skipped the native ray-query profile. That profile also runs passes on shaders without queries (local ray-query elimination in Poly, query and dead temporary cleanup), so the same geometry shader produced different code, and different shader object binaries, depending on the enabled features. dEQP-VK.shader_object.binary.device_features.geom.* and query.geom.linked.device_no_exts_features compare those binaries and failed with "Data not matching". A device without ray-tracing features can't have ray queries, so compile its geometry and evaluation shaders under the same profile a ray-tracing device uses. Devices with ray tracing are unchanged. Fixes: 43fe12d ("hk: set up G17P ray tracing only for devices that enable it") Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
RyanTheTide
marked this pull request as ready for review
October 23, 2026 07:33
RyanTheTide
deleted the
aurora/g17p-shader-binary-feature-independence-20261023
branch
October 23, 2026 07:33
This was referenced Oct 23, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft. Probable regression from #32, not yet confirmed on hardware.
On the Neo, stride50 on both aurora-wip 9babd5c and a pre-merge #32+#33+#34 tree shows 3 Pass to Fail, all "Data not matching". These names pass on the 73iq full run of dde4825:
dEQP-VK.shader_object.binary.device_features.geom.linked.1device_features.geom.unlinked.26query.geom.linked.device_no_exts_featuresThose tests build the same shader on a second device with different (or no) features and compare the shader binary bytes. Since #32, a G17P device that enables no ray-tracing feature compiles GS and TES without the native ray-query profile. That profile also runs passes on shaders without queries, so the geometry binary depends on the enabled features.
hk: compile G17P geometry and evaluation shaders alike on every device. A device without ray-tracing features can't have ray queries, so it now compiles its GS and TES under the same profile a ray-tracing device uses. Ray-tracing devices are unchanged, and M1/M2 never take this path.
A rerun of all 439
shader_object.binarynames on aurora-wip 9babd5c fails everydevice_features.geom.*name (64) and bothquery.geom.*.device_no_exts_features. Everything else passes, and all 439 pass on dde4825. Host gates on this branch: x86_64 and AArch64 builds, Asahi + poly suites 92/92, agx3_rt_core 611/611.Still to do before merging: classify the 3 names on the Neo (reruns against dde4825), then run all 439
shader_object.binarynames with this branch. The rolling validator owns Neo runs now.🤖 Generated with Claude Code