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
Greetings!
I have a question regardless wgpu::ColorWrites. Both wgpu and webgpu don't define a NONE variant, which would allow to not render to any color channels at all. It's really useful for only drawing to stencil/depth buffer.
This appears to be working correctly, at least on the vulkan backend. Could this lead to UB or other unforeseen consequences?
If so, is there a better solution? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
I have a question regardless
wgpu::ColorWrites. Both wgpu and webgpu don't define a NONE variant, which would allow to not render to any color channels at all. It's really useful for only drawing to stencil/depth buffer.This appears to be working correctly, at least on the vulkan backend. Could this lead to UB or other unforeseen consequences?
If so, is there a better solution? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions