Questions tagged [webgpu]
The webgpu tag has no summary.
3 questions
2
votes
2
answers
156
views
Fastest way to store colored rect info?
I'm using WebGPU and a storage buffer for rects. Currently I have this:
...
2
votes
1
answer
339
views
Padding in a vec3f array in WebGPU memory layout
I'm trying to write a WGSL structs parser (sort of webgpu-utils thing). In order to better understand the memory layout, I'm using wgsl offset computer as a helper.
Having the next struct:
...