MSL: Always enable support for base vertex/index on iOS.

No good reason to not just enable it in CLI.
This commit is contained in:
Hans-Kristian Arntzen 2021-06-03 11:27:49 +02:00
parent a6ce49ca24
commit 585fc6f3cb

View File

@ -1137,6 +1137,7 @@ static string compile_iteration(const CLIArguments &args, std::vector<uint32_t>
msl_opts.emulate_subgroups = args.msl_emulate_subgroups;
msl_opts.fixed_subgroup_size = args.msl_fixed_subgroup_size;
msl_opts.force_sample_rate_shading = args.msl_force_sample_rate_shading;
msl_opts.ios_support_base_vertex_instance = true;
msl_comp->set_msl_options(msl_opts);
for (auto &v : args.msl_discrete_descriptor_sets)
msl_comp->add_discrete_descriptor_set(v);