mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 09:34:09 +01:00
remove BoundsCheckPolicies.image_store
This commit is contained in:
1 parent
339ecf37da
commit
ccd6d2ca48
20 files changed
+244
-429
No files matched your search
@@ -38,13 +38,6 @@ struct Args {
|
||||
#[argh(option)]
|
||||
image_load_bounds_check_policy: Option<BoundsCheckPolicyArg>,
|
||||
|
||||
/// what policy to use for texture stores bounds checking.
|
||||
///
|
||||
/// Possible values are the same as for `index-bounds-check-policy`. If
|
||||
/// omitted, defaults to the index bounds check policy.
|
||||
#[argh(option)]
|
||||
image_store_bounds_check_policy: Option<BoundsCheckPolicyArg>,
|
||||
|
||||
/// directory to dump the SPIR-V block context dump to
|
||||
#[argh(option)]
|
||||
block_ctx_dir: Option<String>,
|
||||
@@ -409,10 +402,6 @@ fn run() -> anyhow::Result<()> {
|
||||
Some(arg) => arg.0,
|
||||
None => params.bounds_check_policies.index,
|
||||
};
|
||||
params.bounds_check_policies.image_store = match args.image_store_bounds_check_policy {
|
||||
Some(arg) => arg.0,
|
||||
None => params.bounds_check_policies.index,
|
||||
};
|
||||
params.overrides = args
|
||||
.overrides
|
||||
.iter()
|
||||
|
||||
Reference in new issue
Block a user