mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
ad3657aba80f1475cb1c73de8d27cb53cff941ba
540: Improve and fix examples/texture-arrays r=cwfitzgerald a=im-0 Original examples/texture-arrays produces following output on my machine (Linux, Mesa/RADV 20.2-rc3, Radeon VII):  Quick investigation showed that only shaders with non-uniform indexing are problematic (first commit helped with this). Then, after searching on the web, I figured out that the problem is in missing `nonuniformEXT`. Second commit fixes this. I am new to graphics programming, and `nonuniformEXT` may work just by accident. So please confirm my finding before merging. Co-authored-by: Ivan Mironov <mironov.ivan@gmail.com>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%