Skip to content

revert(agc): back out #6973 MSAA initial samples - #15935

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
oneandonlydean:revert-6973
Nov 5, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
oneandonlydean:revert-6973

Conversation

@oneandonlydean

Copy link
Copy Markdown
Collaborator

What

Reverts #6973 (merge 24ed2d9). Since that merge every main tip fails the linux job: agc_driver_native_depth_aliased_depth_depth_only, agc_driver_native_depth_aliased_depth_stencil, agc_driver_native_depth_aliased_depth_no_stencil and agc_driver_native_depth_publication. #6973 refuses sampling an aliased multisample target earlier, with a different message than the HTILE-alias refusal these tests expect (NativeMultisampleDepth.cpp). The parent c42e3a000c is green.

This only restores a green main. @Amoenus #6973 can come back as a new PR that includes the test update for the new refusal path.

Tested

Linux: git revert -m 1 24ed2d9adf on main 0eba5db, clean revert (14 files). The failing tests pass on the parent c42e3a000c.

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 under Silent stubs in their library's technical debt file
  • 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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a (revert)
  • AI-assisted: yes

Main fails linux since 24ed2d9: agc_driver_native_depth_aliased_depth_{depth_only,stencil,no_stencil} and native_depth_publication now refuse sampling an aliased multisample target earlier, with a message the HTILE-alias path in NativeMultisampleDepth.cpp does not expect. The parent c42e3a0 is green. Reverting so main is green again; boykopovar#6973 can re-land together with the test update.
@oneandonlydean
oneandonlydean merged commit acac7c8 into boykopovar:main Nov 5, 2026
6 checks passed
@Amoenus

Amoenus commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

@StepFPV Thanks for the detailed diagnosis. I reproduced the same interaction on both RTX5080 and AMD Radeon Graphics: clean main 4639eff7f4c23325a916875a0e37f1e312fa18f4 passes all four reported depth tests, while an isolated restoration of unchanged #6973 at e8566696a428087f7669b151df6b0088e0f6985a fails all four on each GPU with the reported sampled-color refusal/unreadable-range errors. Required Vulkan, loaded Khronos1.4.363, cache/journal off; no validation warnings/errors/VUIDs in those eight expected-failure controls. Exact source, commands and raw logs. Our earlier focused matrix missed these interactions.

The initial read can retire an unwritten resident depth owner, so merely replacing an error-message assertion would miss the lifetime regression. Your zero-clear proposal is not yet adopted or independently qualified here; a re-land needs an explicit initial-content policy for depth-owned and unmapped ranges, preserving valid owners and refusing unresolved behavior. I have kept the diagnostic restoration local and marked our dependent stack as needing that correction before refresh. AI-assisted: yes (Codex).

7 November replacement status: #15985/#15986/#16086 merged at f67245af5681d9441382a164b860949bfc4c5fc9. The two initializer features are no longer awaiting a re-land. Their merge removed no lines from NativeMultisampleDepth.cpp; it added4 owner-survival/refusal checks. Ordinary-constructor guest capture and the generic sampled-layout rewrite remain absent.

Recurrence evidence and refreshed stack:112 passes of the4 original #15964 case groups across two pinned phases/main and all6 PR heads on NVIDIA/AMD, plus upstream Linux’s4 old cases and7 initializer groups passing before that whole job was cancelled. The original restoration’s8 expected failures retain their historical pin. No expected errors or assertions were relaxed to obtain these passes; StepFPV’s diagnosis/nonmutating preflight idea remains credited.

#6987→#6989→#6995→#7002 remain separate open follow-ups. All6 maintained heads are pushed with preserved history. #7002 is draft for an additional intermittent AMD template-reuse assertion (15 final follow-up passes/1 failure; successful repetitions do not clear it), and still needs the declared foreign-depth joint port. Other5 follow-ups pass their selected matrices. Overall normal matrices:303 GPU passes/1 known failure and30 CPU passes. No fresh title/FPS, complete-stack or full Linux-suite claim. AI-assisted:yes,Codex.

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.

2 participants