MSAA + copy_texture_to_buffer #2625
-
First of all thanks for the great project! multisample: wgpu::MultisampleState {
count: 4,
mask: !0,
alpha_to_coverage_enabled: false,
}, Here is a result of pretty simple color + text rendering with And here is what I am getting with But when I am using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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).