mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-03 20:23:40 +00:00
0aa7681165
* glsl-out: Implement bounds checks for `ImageLoad` * Enable image bounds check snapshot tests for GLSL. In addition to the snapshot.rs changes, this entails adding an entry point function to `bounds-check-image-restrict.wgsl` and `bounds-check-image-rzsw.wgsl`, including appropriate data in the param.ron files. * Apply comments Snapshot test changes: Co-authored-by: Jim Blandy <jimb@red-bean.com>
15 lines
184 B
Plaintext
15 lines
184 B
Plaintext
(
|
|
bounds_check_policies: (
|
|
image: Restrict,
|
|
),
|
|
spv: (
|
|
version: (1, 1),
|
|
debug: true,
|
|
),
|
|
glsl: (
|
|
version: Desktop(430),
|
|
writer_flags: (bits: 0),
|
|
binding_map: { },
|
|
),
|
|
)
|