mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-09 22:00:05 +00:00
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:
parent
a6ce49ca24
commit
585fc6f3cb
1
main.cpp
1
main.cpp
@ -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.emulate_subgroups = args.msl_emulate_subgroups;
|
||||||
msl_opts.fixed_subgroup_size = args.msl_fixed_subgroup_size;
|
msl_opts.fixed_subgroup_size = args.msl_fixed_subgroup_size;
|
||||||
msl_opts.force_sample_rate_shading = args.msl_force_sample_rate_shading;
|
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);
|
msl_comp->set_msl_options(msl_opts);
|
||||||
for (auto &v : args.msl_discrete_descriptor_sets)
|
for (auto &v : args.msl_discrete_descriptor_sets)
|
||||||
msl_comp->add_discrete_descriptor_set(v);
|
msl_comp->add_discrete_descriptor_set(v);
|
||||||
|
Loading…
Reference in New Issue
Block a user