Skip to content

MSAA + copy_texture_to_buffer #2625

Answered by kvark
dmtrKovalenko asked this question in Q&A
Discussion options

You must be logged in to vote

You shouldn't be able to copy MSAA texture into a buffer, at all, if I recall correctly. The fact wgpu allows it now is a bug.
What you can do instead is to run a compute shader, which does textureLoad() from the MSAA texture and stores data into a buffer (bound as a read/write storage buffer).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dmtrKovalenko
Comment options

@kvark
Comment options

@dmtrKovalenko
Comment options

Answer selected by dmtrKovalenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants