mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 16:01:04 +01:00
glsl-out: Implement bounds checks for ImageLoad (#1889)
* 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>
This commit is contained in:
1 parent
c7e245c083
commit
0aa7681165
15 files changed
+1559
-793
No files matched your search
@@ -455,6 +455,7 @@ fn run() -> Result<(), Box<dyn std::error::Error>> {
|
||||
))?,
|
||||
¶ms.glsl,
|
||||
&pipeline_options,
|
||||
params.bounds_check_policies,
|
||||
)
|
||||
.unwrap_pretty();
|
||||
writer.write()?;
|
||||
|
||||
Reference in new issue
Block a user