Skip to content

Fix merge conflict in PR #79 (verbose disasm opt-in) - #80

Merged
digetx merged 3 commits into
masterfrom
copilot/fix-merge-conflict
Sep 1, 2026
Merged

Fix merge conflict in PR #79 (verbose disasm opt-in)#80
digetx merged 3 commits into
masterfrom
copilot/fix-merge-conflict

Conversation

Copilot AI commented Sep 1, 2026

Copy link
Copy Markdown

Summary

Resolves the merge conflict that prevents #79 ("make verbose disasm opt-in") from being merged cleanly into master.

Changes

  • Merged kusma:verbose-output (PR make verbose disasm opt-in #79, commit f90a935) into this branch.
  • Resolved conflicts in src/libcgc/shader.c: two overlapping hunks in cgc_shader_dump where master's copy of the function (unmodified since the PR's base) collided with PR make verbose disasm opt-in #79's flag-gated rewrite. Resolved by taking PR make verbose disasm opt-in #79's version, which is functionally identical to the PR's intended change.
  • tools/cgc.c auto-merged cleanly with no manual changes needed.

Validation

  • Confirmed no leftover conflict markers in any file.
  • Diffed the resolved shader.c against PR make verbose disasm opt-in #79's version — identical except for unrelated pre-existing differences already on master (removal of HAVE_CONFIG_H block, alu_sched/mfu_sched array size).
  • Syntax-checked src/libcgc/shader.c and tools/cgc.c with gcc -fsyntax-only (full meson/ninja build not possible in this sandbox due to missing libdrm dependency).

Note

This PR does not merge #79 itself (which lives on a fork I can't push to); it provides a conflict-free version of the same change for a maintainer to merge, after which #79 can be closed.

kusma and others added 3 commits August 31, 2026 22:15
When reading registers, the logic is different than when writing them;
we know if thing are fx10 or not from a dedicated bit, and the subreg
doesn't matter for fp20; both subregs are written.
The output of this program is often quite verbose. This lets us enable
parts of the output case by case, or all at once.
# Conflicts:
#	src/libcgc/shader.c

Co-authored-by: digetx <1242749+digetx@users.noreply.github.com>
@digetx
digetx marked this pull request as ready for review September 1, 2026 14:01
@digetx
digetx merged commit a2fb4af into master Sep 1, 2026
1 check passed
@kusma
kusma deleted the copilot/fix-merge-conflict branch September 1, 2026 19:22
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.

3 participants