Skip to content

Support texture readback through copyTextureRegion - #114

Merged
DarioSamo merged 3 commits into
renderbag:mainfrom
IsaacMarovitz:readback
Oct 21, 2026
Merged

DarioSamo merged 3 commits into
renderbag:mainfrom
IsaacMarovitz:readback

Conversation

@IsaacMarovitz

Copy link
Copy Markdown
Contributor

Explicitly adds support for copyTextureRegion calls in the other direction.

@squidbus squidbus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't vouch for the D3D12 but the others look okay to me.

@dcvz dcvz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I noticed is that it ignores dstX/Y/Z and sizes the copy from the footprint instead of srcBox which is not how D3D12 does it.

Comment thread plume_metal.cpp Resolved
Comment thread plume_metal.cpp Resolved
Comment thread plume_metal.cpp Resolved
Comment thread plume_vulkan.cpp Resolved
Comment thread plume_vulkan.cpp Resolved
@DarioSamo
DarioSamo self-requested a review October 16, 2026 19:01
Comment thread plume_d3d12.cpp Resolved
Comment thread plume_metal.cpp Resolved
Comment thread plume_vulkan.cpp Resolved
@DarioSamo
DarioSamo merged commit 0ce184b into renderbag:main Oct 21, 2026
10 checks passed
@IsaacMarovitz
IsaacMarovitz deleted the readback branch October 21, 2026 19:01
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.

5 participants