Skip to content

Revert "fix(agc): validate mesh index descriptors on cached draws" (#5791) - #6552

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
adriadam10:revert/5791
Oct 15, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
adriadam10:revert/5791

Conversation

@adriadam10

Copy link
Copy Markdown
Collaborator

What

Reverts #5791. Its new test agc_driver_mesh_index_cache aborts on the linux job (lavapipe, LLVM 20.1.2: LLVM ERROR: Cannot emit physreg copy instruction while compiling the test's shaders) on every main push build since the merge (first red 38777177302, last 38786745473). Main red blocks every merge. The author can reopen with a shader that the runner's lavapipe compiles.

Tested

Not built: quick fix of a red main, its proof is main's push build. The revert is clean (no later commit touches these files) and restores the tree of the last green main build for these files (fa9365c, run 38772370235).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

…oykopovar#5791)

agc_driver_mesh_index_cache aborts on the linux job (lavapipe, LLVM 20.1.2:
"LLVM ERROR: Cannot emit physreg copy instruction") on every main push build
since the merge (first red: 38777177302). The PR was merged on a
windows-only run after a linux-red batch was split.

Co-Authored-By: Claude <noreply@anthropic.com>
@adriadam10
adriadam10 merged commit ce991f1 into boykopovar:main Oct 15, 2026
3 of 4 checks passed
adriadam10 added a commit that referenced this pull request Oct 15, 2026
)

Reapplies #5791 (reverted by #6552). agc_driver_mesh_index_cache now skips
on llvmpipe like agc_driver_mesh does: llvmpipe aborts compiling these mesh
programs (LLVM ERROR: Cannot emit physreg copy), which is what turned main's
linux job red.

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant