AGC: sampled 2D MSAA descriptor-shape failure (PPSA99902; verification pending) #3036

Open
opened 2026-10-10 20:52:57 +00:00 by Amoenus · 7 comments
Amoenus commented 2026-10-10 20:52:57 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-10T20:52:57Z.


Scope and status - 28 October 2026

This issue tracks the original sampled 2D MSAA descriptor-shape failure:

DescriptorBindingBuilder::Populate multisampled image resources have no descriptor image shape

The historical PPSA99902 report used a read-only Sampled/Float Dim2DMsaa resource, RGBA16_FLOAT,3840x2160,eight fragments,R_X. The closure criterion is correct descriptor-shape handling for the reported case while preserving its samples. Overall Sonic startup, loading and playability are tracked in #4443.

What has already landed

  • #4820 is merged: sampled views of matching host-rendered 2D MSAA color targets. The source checked at f21ef7c99c5a has explicit MSAA descriptor shapes.
  • #6444 and #6445 are merged: fragment-aware sampled-MSAA footprints and geometry corrections.

Those contributions cover defined subsets. The old title and its later loading failures should not imply that no descriptor-shape implementation exists.

What remains to verify before closing this issue

A fresh, focused check of the original PPSA99902 resource case on pinned main is still needed. The existing composed-fork runs and synthetic subsets do not identify every prerequisite of that original case. Record the conversion/runtime pins, reached stage and actual error.

  1. If the reported sampled resource binds correctly and the original descriptor-shape failure is resolved, close this issue and continue with the appropriate later blocker.
  2. If it still fails, narrow this report to the exact remaining resource/ownership case, with a focused reproducer and the relevant implementation PR.
  3. If an earlier unrelated failure prevents reaching it, record the result as inconclusive and identify the prerequisite. A run on main plus prerequisites must retain that composition label.

There is no requirement for Sonic to reach gameplay before this particular defect can be closed. Conversely, the absence of the old error alone does not prove that its affected path executed.

Follow-ups kept outside this scope

Behavior Existing report or work
Resident DCC rendering/coherence #5336
Remaining compressed FMASK/CMASK reads #3219
Mipmapped 3D color targets #7260 / #7310
Native-MSAA logical buffer aliases #6480 / #6498
Native-color initialization,readback and publication Narrow initializer/depth-owner corrections are merged. #6987 -> #6989 -> #6995 -> #7002 refreshed to tested main 2ecc68bda264 (current component/recurrence evidence). #7002 remains draft for the earlier AMD move assertion and foreign-depth port. #17152 remains open with its earlier supported-device validation. No new Sonic run or closure of the original descriptor-shape case.
Later invalid-descriptor,watchdog or loading observations whose cause is not isolated #4443 until there is enough evidence for a distinct focused report

These later symptoms are not assumed to share the original descriptor-shape cause. The native-color stack is related implementation work, not a blanket closing PR for every Sonic failure.

Preserved evidence

The latest composed run status and historical gameplay checkpoints remain in the bring-up discussion. The two mainb99 integration runs reached rendered3D cinematics without verified interactive gameplay; those are separately pinned observations, not unchanged-main closure evidence for this issue.

Previous issue summary before this scope clarification, including PR coverage and exact run references. Original detailed report and older evidence. Existing comments retain their historical source pins.

This tracker edit records component work only. No new game run or issue-resolution claim. AI-assisted: yes (Codex).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5795180936 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-10T20:52:57Z. --- ## Scope and status - 28 October 2026 This issue tracks the original sampled 2D MSAA descriptor-shape failure: ```text DescriptorBindingBuilder::Populate multisampled image resources have no descriptor image shape ``` The historical PPSA99902 report used a read-only Sampled/Float `Dim2DMsaa` resource, RGBA16_FLOAT,3840x2160,eight fragments,R_X. The closure criterion is correct descriptor-shape handling for the reported case while preserving its samples. Overall Sonic startup, loading and playability are tracked in #4443. ## What has already landed - **#4820 is merged:** sampled views of matching host-rendered 2D MSAA color targets. The [source checked at `f21ef7c99c5a`](https://github.com/boykopovar/AnyPS5/blob/f21ef7c99c5af648c5a41bddb18ce118b8e60c46/core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp#L103) has explicit MSAA descriptor shapes. - **#6444 and #6445 are merged:** fragment-aware sampled-MSAA footprints and geometry corrections. Those contributions cover defined subsets. The old title and its later loading failures should not imply that no descriptor-shape implementation exists. ## What remains to verify before closing this issue **A fresh, focused check of the original PPSA99902 resource case on pinned main is still needed.** The existing composed-fork runs and synthetic subsets do not identify every prerequisite of that original case. Record the conversion/runtime pins, reached stage and actual error. 1. If the reported sampled resource binds correctly and the original descriptor-shape failure is resolved, close this issue and continue with the appropriate later blocker. 2. If it still fails, narrow this report to the exact remaining resource/ownership case, with a focused reproducer and the relevant implementation PR. 3. If an earlier unrelated failure prevents reaching it, record the result as inconclusive and identify the prerequisite. A run on main plus prerequisites must retain that composition label. There is no requirement for Sonic to reach gameplay before this particular defect can be closed. Conversely, the absence of the old error alone does not prove that its affected path executed. ## Follow-ups kept outside this scope | Behavior | Existing report or work | |---|---| | Resident DCC rendering/coherence | #5336 | | Remaining compressed FMASK/CMASK reads | #3219 | | Mipmapped 3D color targets | #7260 / #7310 | | Native-MSAA logical buffer aliases | #6480 / #6498 | | Native-color initialization,readback and publication | Narrow initializer/depth-owner corrections are merged. #6987 -> #6989 -> #6995 -> #7002 refreshed to tested main `2ecc68bda264` ([current component/recurrence evidence](https://gist.github.com/Amoenus/89a3275734beae2da7247ce33dbff8c5#file-report-md)). #7002 remains draft for the earlier AMD move assertion and foreign-depth port. #17152 remains open with its earlier supported-device validation. No new Sonic run or closure of the original descriptor-shape case. | | Later invalid-descriptor,watchdog or loading observations whose cause is not isolated | #4443 until there is enough evidence for a distinct focused report | These later symptoms are not assumed to share the original descriptor-shape cause. The native-color stack is related implementation work, not a blanket closing PR for every Sonic failure. ## Preserved evidence The latest composed run status and historical gameplay checkpoints remain in [the bring-up discussion](https://github.com/boykopovar/AnyPS5/discussions/4443). The two mainb99 integration runs reached rendered3D cinematics without verified interactive gameplay; those are separately pinned observations, not unchanged-main closure evidence for this issue. [Previous issue summary before this scope clarification](https://gist.github.com/Amoenus/a6e240b61d94833f9ecf5173295051c1#file-history-issue3036-before-scope-clarification-20261028-md), including PR coverage and exact run references. [Original detailed report and older evidence](https://gist.github.com/Amoenus/a6e240b61d94833f9ecf5173295051c1#file-history-issue3036-before-compaction-md). Existing comments retain their historical source pins. This tracker edit records component work only. No new game run or issue-resolution claim. AI-assisted: yes (Codex).
Amoenus commented 2026-10-10 21:54:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-10T21:54:05Z.


Historical shader classification (main262c0316)

Distinct evidence retained here; the maintained implementation/validation report is now the issue body.

At local aggregate61e16ab7, a guard-preserving capture identified eight ordinary IMAGE_LOAD instructions (opcode0,2DMSAA, dmaskF), PCs48/98/A4/B0/BC/C8/D4/E0. A preceding2D load atPC24 reads a separate FMASK descriptor, format166/S8_F8. This differs from #790's opcode80 IMAGE_MSAA_LOAD. Full captured-request Recompile refused5/5; PrepareShader alone succeeded and was insufficient validation.

Historical native storage-write/sample-fetch feasibility probe: six small2/4/8-sample/array cases×5 pass, forced-sample-zero control fails. This established transport feasibility, not guest tiling/coherence. Later production RDNA tests supersede this probe; see the issue body. This evidence remains attributed to the historical stack, not current capture. AI-assisted; diagnostic removed, baseline restored, no gameplay/console-equivalence claim.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6102576539 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6102576539). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-10T21:54:05Z. --- ### Historical shader classification (main262c0316) Distinct evidence retained here; the maintained implementation/validation report is now [the issue body](https://github.com/boykopovar/AnyPS5/issues/3036). At local aggregate61e16ab7, a guard-preserving capture identified eight ordinary `IMAGE_LOAD` instructions (opcode0,2DMSAA, dmaskF), PCs48/98/A4/B0/BC/C8/D4/E0. A preceding2D load atPC24 reads a separate FMASK descriptor, format166/S8_F8. This differs from #790's opcode80 `IMAGE_MSAA_LOAD`. Full captured-request `Recompile` refused5/5; `PrepareShader` alone succeeded and was insufficient validation. Historical native storage-write/sample-fetch feasibility probe: six small2/4/8-sample/array cases×5 pass, forced-sample-zero control fails. This established transport feasibility, not guest tiling/coherence. Later production RDNA tests supersede this probe; see the issue body. This evidence remains attributed to the historical stack, not current capture. AI-assisted; diagnostic removed, baseline restored, no gameplay/console-equivalence claim.
Amoenus commented 2026-10-10 22:27:02 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-10T22:27:02Z.


Historical layout and metadata observation (maindc105f8a)

Current code links, independent layout tests and title controls are maintained in the issue body.

Historical layout-only aggregate1cfd724c still stopped at the descriptor-shape guard in5/5 runs; adding a helper without runtime integration did not advance startup. Two synchronized captures covered33,423,360 FMASK bytes, all0x76543210. This is a raw byte pattern, not proof of effective identity sampling: later CMASK captures containedCC, which changes interpretation. That distinct correctness gap belongs to #3219.

Earlier console-configuration uncertainty is superseded by the source/binary-correlated driver model in the DCC correction comment, still not a console hardware measurement. AI-assisted; original/baseline restored, no rendering claim.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6102844454 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6102844454). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-10T22:27:02Z. --- ### Historical layout and metadata observation (maindc105f8a) Current code links, independent layout tests and title controls are maintained in [the issue body](https://github.com/boykopovar/AnyPS5/issues/3036). Historical layout-only aggregate1cfd724c still stopped at the descriptor-shape guard in5/5 runs; adding a helper without runtime integration did not advance startup. Two synchronized captures covered33,423,360 FMASK bytes, all`0x76543210`. This is a raw byte pattern, **not proof of effective identity sampling**: later CMASK captures contained`CC`, which changes interpretation. That distinct correctness gap belongs to [#3219](https://github.com/boykopovar/AnyPS5/issues/3219). Earlier console-configuration uncertainty is superseded by the source/binary-correlated driver model in [the DCC correction comment](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6103307218), still not a console hardware measurement. AI-assisted; original/baseline restored, no rendering claim.
Amoenus commented 2026-10-10 23:12:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-10T23:12:15Z.


Historical runtime milestone and corrected DCC estimate (main379d8b4e)

The first uncompressed-MSAA integration passed the descriptor-shape refusal and reached compressed multisampled texture snapshot is not implemented in three conditional title runs:28.811/29.256/29.187s. This was AGC-only with119 other libraries identical, not completed startup. Current implementation, tests and limits are maintained in the issue body.

Correction: the original2,088,960-byte DCC estimate assumed a maximum of eight compressed fragments. Texture fragments alone do not establish this. The source/binary-correlated two-compressed-fragment model yields552,960 bytes; evidence and limits. Do not use the old estimate as the title's metadata extent. AI-assisted; no gameplay or console-equivalence claim.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6103194925 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6103194925). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-10T23:12:15Z. --- ### Historical runtime milestone and corrected DCC estimate (main379d8b4e) The first uncompressed-MSAA integration passed the descriptor-shape refusal and reached `compressed multisampled texture snapshot is not implemented` in three conditional title runs:28.811/29.256/29.187s. This was AGC-only with119 other libraries identical, not completed startup. Current implementation, tests and limits are maintained in [the issue body](https://github.com/boykopovar/AnyPS5/issues/3036). **Correction:** the original2,088,960-byte DCC estimate assumed a maximum of eight compressed fragments. Texture fragments alone do not establish this. The source/binary-correlated two-compressed-fragment model yields552,960 bytes; [evidence and limits](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6103307218). Do not use the old estimate as the title's metadata extent. AI-assisted; no gameplay or console-equivalence claim.
Amoenus commented 2026-10-10 23:27:04 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-10T23:27:04Z.


Retained correction: DCC size and CMASK interpretation

The maintained current solution, tests and startup comparison are in the issue body. This comment preserves the correction to earlier estimates and the distinct source/binary evidence.

Unchanged PAL GetMetaBlkSize limits metadata sample bits by the compressed-fragment limit. For3840×2160/64-bit/8-fragment R_X, the tested limits1/2/4/8 produce294,912 /552,960 /1,044,480 /2,088,960 DCC bytes. The old largest estimate was not justified by the texture's eight fragments.

The original ELF contains Mesa revision0b2d6d1a61d9bbf89cf8beb88a696144f67c61f8, matching the public PS5-port build script; exact title-source revision is unconfirmed. Static inspection confirmed the0x00100044 setter and dataflow into the driver's GB configuration, matching pinned winsys. Its compressed-fragment limit is two. PAL with this config/revision82 gives552,960 bytes,5/5 checks; wrong-limit control caught. This is compiled-driver/source correlation, not measured console layout.

Two earlier oversized captures hit an unreadable page557,056 bytes from the base. That readable tail is4,096 bytes beyond calculated DCC; its purpose is unknown. Mapping size alone never proved the configuration. Complete historical color captures were zero and could not distinguish fragment permutations. PAL's public multisampled DCC address API remains unsupported; no single-fragment substitute was used.

Two later complete CMASK captures:81,920 bytes allCC; raw FMASK remained the expanded identity pattern. PAL definesCC as DCC fast-clear/FMASK pointers zero. Raw FMASK identity is not logical identity. Separate emitter/model finding: #3219.

Validation correction retained: presence-tested flags remain enabled when set to empty. One supplementary capture/restored control was excluded and repeated with flags genuinely absent; readable-color/metadata observations and refusal reproduced. The external harness now rejects empty controls (13 negative preflights). Historical logs remain archived.

Subsequent uniform-DCC snapshots passed the color guard; current evidence is in the issue body, fresh depth gap in #3262. Temporary diagnostics removed and original/baseline restored/hash-verified. AI-assisted; no console/gameplay claim. Earlier local-only status was historical; reviewed experimental work is now preserved in the fork without new PRs.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6103307218 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6103307218). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-10T23:27:04Z. --- ### Retained correction: DCC size and CMASK interpretation The maintained current solution, tests and startup comparison are in [the issue body](https://github.com/boykopovar/AnyPS5/issues/3036). This comment preserves the correction to earlier estimates and the distinct source/binary evidence. Unchanged [PAL GetMetaBlkSize](https://github.com/GPUOpen-Drivers/pal/blob/c5e800072a32f68b6ccc4422936d96167c6e0728/src/core/imported/addrlib/src/gfx10/gfx10addrlib.cpp#L1234) limits metadata sample bits by the compressed-fragment limit. For3840×2160/64-bit/8-fragment R_X, the tested limits1/2/4/8 produce294,912 /552,960 /1,044,480 /2,088,960 DCC bytes. The old largest estimate was not justified by the texture's eight fragments. The original ELF contains Mesa revision`0b2d6d1a61d9bbf89cf8beb88a696144f67c61f8`, matching [the public PS5-port build script](https://github.com/Nazky/UnleashedRecomp-Prospero/blob/de5cec4cf7402ec26dabb042cc04547c9e2433e6/tools/build-radv.sh#L7); exact title-source revision is unconfirmed. Static inspection confirmed the`0x00100044` setter and dataflow into the driver's GB configuration, matching [pinned winsys](https://github.com/mihawk-99/PS5_Mesa/blob/0b2d6d1a61d9bbf89cf8beb88a696144f67c61f8/src/amd/vulkan/winsys/ps5/radv_ps5_winsys.c#L148). Its compressed-fragment limit is two. PAL with this config/revision82 gives552,960 bytes,5/5 checks; wrong-limit control caught. This is compiled-driver/source correlation, not measured console layout. Two earlier oversized captures hit an unreadable page557,056 bytes from the base. That readable tail is4,096 bytes beyond calculated DCC; its purpose is unknown. Mapping size alone never proved the configuration. Complete historical color captures were zero and could not distinguish fragment permutations. PAL's public multisampled DCC address API remains unsupported; no single-fragment substitute was used. Two later complete CMASK captures:81,920 bytes all`CC`; raw FMASK remained the expanded identity pattern. [PAL definesCC as DCC fast-clear/FMASK pointers zero](https://github.com/GPUOpen-Drivers/pal/blob/c5e800072a32f68b6ccc4422936d96167c6e0728/src/core/hw/gfxip/gfx9/gfx9MaskRam.h#L517). **Raw FMASK identity is not logical identity.** Separate emitter/model finding: [#3219](https://github.com/boykopovar/AnyPS5/issues/3219). Validation correction retained: presence-tested flags remain enabled when set to empty. One supplementary capture/restored control was excluded and repeated with flags genuinely absent; readable-color/metadata observations and refusal reproduced. The external harness now rejects empty controls (13 negative preflights). Historical logs remain archived. Subsequent uniform-DCC snapshots passed the color guard; current evidence is in the issue body, fresh depth gap in [#3262](https://github.com/boykopovar/AnyPS5/issues/3262). Temporary diagnostics removed and original/baseline restored/hash-verified. AI-assisted; no console/gameplay claim. Earlier local-only status was historical; reviewed experimental work is now preserved in the fork without new PRs.
reyani-dev commented 2026-10-12 10:07:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-12T10:07:19Z.


Another title that reaches this: ProsperoPuzzles (PPSA99006), an open-source catalog title on blackbearreloaded/ps5-opengl. On main it stops one draw earlier, on its single-sample scan into a 4x color target (CB_COLOR0_ATTRIB 0x00012000, PA_SC_AA_CONFIG 0, MSAA_ENABLE off). #4414 handles that, and the title then stops here when it samples that 4x image:

  what():  DescriptorBindingBuilder::Populate multisampled image resources have no descriptor image shape

Windows 11, RTX 4070, main 9bc36235 + #4414. It's free to download, so it may be an easier check than PPSA99902 for whatever lands for this.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6122100147 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6122100147). Originally posted by [reyani-dev](https://github.com/reyani-dev) on 2026-10-12T10:07:19Z. --- Another title that reaches this: ProsperoPuzzles (PPSA99006), an open-source catalog title on blackbearreloaded/ps5-opengl. On `main` it stops one draw earlier, on its single-sample scan into a 4x color target (`CB_COLOR0_ATTRIB` `0x00012000`, `PA_SC_AA_CONFIG` 0, `MSAA_ENABLE` off). #4414 handles that, and the title then stops here when it samples that 4x image: ``` what(): DescriptorBindingBuilder::Populate multisampled image resources have no descriptor image shape ``` Windows 11, RTX 4070, `main` 9bc36235 + #4414. It's free to download, so it may be an easier check than PPSA99902 for whatever lands for this.
nicolasabosch commented 2026-10-12 22:21:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by nicolasabosch on 2026-10-12T22:21:32Z.


I have a branch for the narrow case ProsperoPuzzles (PPSA99006) reaches here, and I'd like to check it does not collide with @Amoenus's work before opening a pull request.

Scope. Only this: a shader loads from a 2D multisampled image whose T# (type 14) names a color target that draws on the host rendered with the same size, format and sample count.

  • DescriptorBindingBuilder gives a 2D multisampled image its own descriptor shape instead of throwing. Multisampled arrays still throw.
  • DecodeTextureResource decodes type 14, with the sample count from LAST_LEVEL (and MAX_MIP required to hold the same value), as ac_build_gfx10_texture_descriptor writes them in Mesa src/amd/common/ac_descriptors.c (1e2c42b6).
  • The driver binds the multisample target's own host image as the sampled image. No guest memory is read or written for it.

Not in it. Everything the PPSA99902 work in this issue covers stays as it is and keeps throwing: multisampled textures that are not a host-rendered target (CPU-written samples, snapshots), FMASK, CMASK/DCC-compressed samples (a pending CMASK fast clear throws), EQAA, multisampled depth, multisampled arrays, storage access, and sampling the target a draw is rendering to.

Tested. Windows 11, RTX 4070 Laptop, WinLibs GCC 15.2.0 r7, Release, on main ee4962190 (full ctest: 1019 passed, 8 skipped, 0 failed):

  • A new execution test draws a triangle into a 16x16 RGBA16F 4x target and loads every sample through the T# with a multisampled image_load; each of the 1017 samples clear of the triangle's edges matches the triangle's coverage at that sample's location.
  • PPSA99006 01.000.010 no longer stops at multisampled image resources have no descriptor image shape. It does not present yet: its next stop is the multisample guard range covering a neighbouring surface (a CPU read of 0x21f400000+0x90000 overlaps multisampled color target 0x21f200000+0x240000), which #4199 addresses. I did not test with #4199.

@Amoenus, does this overlap with what you plan to submit, and would you rather it went in first, after yours, or not at all?

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6133696447 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6133696447). Originally posted by [nicolasabosch](https://github.com/nicolasabosch) on 2026-10-12T22:21:32Z. --- I have a branch for the narrow case ProsperoPuzzles (PPSA99006) reaches here, and I'd like to check it does not collide with @Amoenus's work before opening a pull request. **Scope.** Only this: a shader loads from a 2D multisampled image whose T# (type 14) names a color target that draws on the host rendered with the same size, format and sample count. - `DescriptorBindingBuilder` gives a 2D multisampled image its own descriptor shape instead of throwing. Multisampled arrays still throw. - `DecodeTextureResource` decodes type 14, with the sample count from `LAST_LEVEL` (and `MAX_MIP` required to hold the same value), as `ac_build_gfx10_texture_descriptor` writes them in Mesa `src/amd/common/ac_descriptors.c` (`1e2c42b6`). - The driver binds the multisample target's own host image as the sampled image. No guest memory is read or written for it. **Not in it.** Everything the PPSA99902 work in this issue covers stays as it is and keeps throwing: multisampled textures that are not a host-rendered target (CPU-written samples, snapshots), FMASK, CMASK/DCC-compressed samples (a pending CMASK fast clear throws), EQAA, multisampled depth, multisampled arrays, storage access, and sampling the target a draw is rendering to. **Tested.** Windows 11, RTX 4070 Laptop, WinLibs GCC 15.2.0 r7, Release, on `main` `ee4962190` (full `ctest`: 1019 passed, 8 skipped, 0 failed): - A new execution test draws a triangle into a 16x16 RGBA16F 4x target and loads every sample through the T# with a multisampled `image_load`; each of the 1017 samples clear of the triangle's edges matches the triangle's coverage at that sample's location. - PPSA99006 01.000.010 no longer stops at `multisampled image resources have no descriptor image shape`. It does not present yet: its next stop is the multisample guard range covering a neighbouring surface (`a CPU read of 0x21f400000+0x90000 overlaps multisampled color target 0x21f200000+0x240000`), which #4199 addresses. I did not test with #4199. @Amoenus, does this overlap with what you plan to submit, and would you rather it went in first, after yours, or not at all? AI-assisted: yes (Claude Code).
Amoenus commented 2026-10-13 03:38:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-13T03:38:51Z.


@nicolasabosch Sorry for the delayed reply. I see this is now #4820; please proceed independently. I would prefer that narrow, current-main contribution to land first, then adapt our remaining work around it.

There is shared implementation territory—MSAA descriptor shape/type-14 decoding and the sampled-resource lookup—but our broader fork is not an upstream PR that your change needs to wait for. Your direct view of an existing host-rendered target differs from our sample-preserving guest uploads and immutable native snapshots, including the additional metadata-clear/coherence paths described in this issue. I will avoid submitting a duplicate of your supported subset.

I checked the current #4820 diff (cc63a8c81). Its explicit refusals and exclusion of multisample-source resources from template reuse preserve a useful boundary for later work. Shared lookup/target code will need reconciliation when carrying the broader paths; that is integration work, not a dependency on our fork.

For PPSA99902, our captured resource is RGBA16F, 3840×2160, eight fragments, with CMASK/DCC transitions. The recent conditional run also exposed target-address reuse; that investigation and #4474 validation are maintained in the bring-up report. Your 4x target test and PPSA99006 result do not establish those additional cases, and I have not independently built/tested #4820 or combined it with #4199 yet. No request to expand your PR to cover them.

AI-assisted investigation/reporting: Codex.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6137668734 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3036#issuecomment-6137668734). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-13T03:38:51Z. --- @nicolasabosch Sorry for the delayed reply. I see this is now #4820; please proceed independently. I would prefer that narrow, current-main contribution to land first, then adapt our remaining work around it. There is shared implementation territory—MSAA descriptor shape/type-14 decoding and the sampled-resource lookup—but our broader fork is not an upstream PR that your change needs to wait for. Your direct view of an existing host-rendered target differs from our sample-preserving guest uploads and immutable native snapshots, including the additional metadata-clear/coherence paths described in this issue. I will avoid submitting a duplicate of your supported subset. I checked the current #4820 diff (`cc63a8c81`). Its explicit refusals and exclusion of multisample-source resources from template reuse preserve a useful boundary for later work. Shared lookup/target code will need reconciliation when carrying the broader paths; that is integration work, not a dependency on our fork. For PPSA99902, our captured resource is RGBA16F, 3840×2160, eight fragments, with CMASK/DCC transitions. The recent conditional run also exposed target-address reuse; that investigation and #4474 validation are maintained in [the bring-up report](https://github.com/boykopovar/AnyPS5/discussions/4443). Your 4x target test and PPSA99006 result do not establish those additional cases, and I have not independently built/tested #4820 or combined it with #4199 yet. No request to expand your PR to cover them. AI-assisted investigation/reporting: Codex.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#3036
No description provided.