remove BoundsCheckPolicies.image_store

This commit is contained in:
teoxoy authored and Jim Blandy committed 2024-07-26 10:44:22 -07:00
1 parent 339ecf37da
commit ccd6d2ca48
20 files changed
+244 -429

No files matched your search

-11
View File
@@ -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()