Closed Try closed 5 months ago
// Same as get_automatic_msl_resource_binding, but should only be used for combined image samplers, in which case the
// sampler's binding is returned instead. For any other resource type, -1 is returned.
// Secondary bindings are also used for the auxillary image atomic buffer.
uint32_t get_automatic_msl_resource_binding_secondary(uint32_t id) const;
Asking in context of image-atomics emulation.
In
CompilerMSL
class function both memebersatomic_image_vars_emulated
andget_metal_resource_index
are protected. For application it's required to have public api to check storage image for complementary_atomic
binding.