Repository navigation
hk: keep G17P colour MSAA compressed with transient eMRT backing - #72
Closed
RyanTheTide wants to merge 1 commit into
Closed
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
RyanTheTide
added a commit
that referenced
this pull request
Oct 26, 2026
Reuse the public Gen9 layered/MSAA packet and per-level ZLS work from Mesa PRs #65 and #67 on the admitted T6040 profile. Its AGX3B, HAL200, Gen9 descriptor and sampler axes match the native profile established by #55. Select expanded array/cube/3D colour, transfer-only 2x/4x colour, layered/MSAA depth-stencil and single-sample depth-stencil mip policies by the physical T6040 identity. Preserve the prior Neo policy and Gen10 packet cases. Colour MSAA render attachments stay plain under #66 because a legal MRT mix can spill them; #72 adds unmeasured boundary-copy work and is not silently enabled. Keep all source-level RT gates unchanged. Retain existing policy regressions and add the public packet, metadata and per-level ZLS checks alongside a separate G16S policy suite. Hardware and performance qualification remain required before merge. Source: #65 Source: #67 Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
This was referenced Oct 28, 2026
Author
|
Superseded by #115, which carries this change rebased onto aurora-wip (this PR targeted feat/g17p-msaa-colour-compression, whose PR closed after the compression consolidation). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A G17P eMRT spill currently writes directly into the attachment image, so #66 keeps colour MSAA attachments plain. This change gives each spilled target private transient storage and admits eligible 2x/4x colour attachments for lossless compression independently of the pass layout.
The backing uses the driver's uncompressed AIL tiled sample layout. LOAD imports the render rectangle through the normal texture/PBE copy path. Stores export it before an attachment resolve. Compressed resident attachments keep their normal background/EOT descriptors. Partial areas, view base layers, sparse multiview masks, physical stream splits and secondary command buffers retain their sample data. Suspend/resume exports and imports across instances. No in-place decompression or metadata transition is added.
The first implementation uses boundary meta copies and full-view scratch allocations. These add work, so no bandwidth improvement is claimed yet. Alias and input/feedback images retain direct plain storage. MSAA images with both colour and input-attachment usage stay plain until feedback through application descriptors is implemented. Existing format, sharing and host/storage exclusions remain, and 8x stays disabled. The new path is gated on G17P.
Validation covers the 10,290,450-layout spill matrix, 5,879 compression-policy checks, native descriptor geometry/packing and metadata layout on the host and emulated AArch64. The 224-descriptor M1/M2 corpus is byte-identical to the base. The NDEBUG negative control detects disabled transient admission. A shipping AArch64 release build and process-local Vulkan/Zink overlay are also prepared.
Stacked on #66, with base
feat/g17p-msaa-colour-compression. Keep this draft pending G17P device CTS for renderpass/renderpass2/dynamic-rendering MSAA, pipeline multisample, spilling attachment mixes and copy/resolve, followed by paired bandwidth measurements. The layout and CPU probe are documented insrc/asahi/vulkan/tests/g17p-msaa-spill.md.