How does wgsl handle unitialized storage buffer? #6115
-
is it unexpected behaviour? on Linux seems nothing bad happen even read the uninitialized memory |
Beta Was this translation helpful? Give feedback.
Answered by
cwfitzgerald
Aug 14, 2024
Replies: 1 comment
-
Uninitialized data will be zeroed by wgpu, so they won't be uninitialized |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GopherJ
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uninitialized data will be zeroed by wgpu, so they won't be uninitialized