Repository navigation
feat(graphics): implement layered render target subsystem and 2D array color/depth views on native Metal - #546
Conversation
…y color/depth views on native Metal
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Implements the Layered Render Target Subsystem (adapting upstream PR boykopovar#7254 and boykopovar#7256 to native Metal):
StorageTexture::MarkSliceDirty(uint32_t slice, uint32_t count = 1)inTexture.hppandTexture.cppto track partial writes per array layer / cubemap face without full image invalidation.ColorTarget::layersandDepthTarget::layersdecoded from view slices.State::renderLayersandState::layerExportstracking for multi-slice export and 2D array texture views.DecodeColorBuffer.colorSurfaceinMetalDraw.mmto properly configureTextureDimension::k2DArraywitharrayLastSlice.renderPass.renderTargetArrayLength = std::max(depthLayers, state.renderLayers).attachment.slice = color.arraySliceon color attachments.RenderState.mmtests to verify layered 2D array color decoding.Verification
check_conventions.py --base main, zero code comments policy upheld)