Add comment where aux image atomic buffers are reflected from.

They also use secondary bindings, not just samplers.
This commit is contained in:
Hans-Kristian Arntzen 2021-02-17 10:42:58 +01:00
parent 92d379bab4
commit 6f1f6775f3

View File

@ -567,6 +567,7 @@ public:
// Same as get_automatic_msl_resource_binding, but should only be used for combined image samplers, in which case the // 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. // 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; uint32_t get_automatic_msl_resource_binding_secondary(uint32_t id) const;
// Same as get_automatic_msl_resource_binding, but should only be used for combined image samplers for multiplanar images, // Same as get_automatic_msl_resource_binding, but should only be used for combined image samplers for multiplanar images,