You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Give passes a weak back-reference to their CommandBuffer
CopyPass, RenderPass, and ComputePass each now hold a non-retaining
CommandBuffer *cmd. CopyPass::uploadData uses self->cmd->device->device
for the SDL device instead of a directly threaded SDL_GPUDevice *.
- Eliminates the SDL_GPUDevice * field on CopyPass
- All three init signatures: init(self, pass, cmd)
- CommandBuffer::begin*Pass passes (CommandBuffer *)self at construction
- Consistent hierarchy: Pass → CommandBuffer → RenderDevice → SDL_GPUDevice
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments