Update wgpu to better handle optional attachment load/store ops (#34646)

* Update wgpu to better handle attachment load/store ops

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Update expectations

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Samson 2024-12-16 19:58:53 +01:00 committed by GitHub
parent 3d816d6d24
commit d7eb0c5c38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 132 deletions

View file

@ -481,7 +481,7 @@ impl WGPU {
wgpu_core::pipeline::ShaderModuleSource::Wgsl(Cow::Borrowed(&program));
let desc = ShaderModuleDescriptor {
label: label.map(|s| s.into()),
shader_bound_checks: wgt::ShaderBoundChecks::default(),
runtime_checks: wgt::ShaderRuntimeChecks::checked(),
};
let (_, error) = global.device_create_shader_module(
device_id,