Mesa ANV: mesh draws render nothing, as the mesh stage has no required subgroup size (agc_driver_mesh) #2862
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by ThatsLeo on 2026-10-10T16:48:33Z.
agc_driver_meshfails on Intel Arc (Meteor Lake, Mesa 26.2.3 ANV), and no triangle of any of its draws is rendered:The validation layer and
spirv-valreport nothing. Mesh programs are recompiled for the host subgroup size (32 here,LocalSize 32withSubgroupLocalInvocationId), but the mesh stage is created without a required subgroup size, and ANV picks a narrower one. Compute pipelines already require it.Fix:
ThatsLeo/AnyPS5:fix/agc-mesh-required-subgroup-size(one commit,2eadedcd, onmain57f96fd2). WhensubgroupSizeControlis enabled andrequiredSubgroupSizeStagesincludes the mesh stage (ANV reports compute, task and mesh), the mesh stage requires the program's host subgroup size.Tested: Fedora 44, GCC 16.2.1, Release.
agc_driver_meshpasses on Intel Arc with no validation message; lavapipe skips it. Fullctestonmain(57f96fd2), on this branch and with all eight fixes listed in #2803-#2807 and here, on Intel Arc and lavapipe: no new failure. With all of them and #1250, all 698 tests pass on Intel Arc and on lavapipe. Dreaming Sarah (PPSA02929) runs with no visual difference.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by ThatsLeo on 2026-10-10T17:22:15Z.
Duplicate of #2815, which reported the same cause earlier with the same fix; I confirmed that fix on Mesa ANV there.