Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2021-02-17 12:42:58 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2021-02-17 12:42:58 +0300
commit6f1f6775f35bd96a2e9ae9f23af63c38c0ea0a14 (patch)
tree30180ccf4cb61cf885c2371c3bf7a0e12ad4884e /spirv_msl.hpp
parent92d379bab4563247e6a64da5ad4213b2c6a1db3a (diff)
Add comment where aux image atomic buffers are reflected from.
They also use secondary bindings, not just samplers.
Diffstat (limited to 'spirv_msl.hpp')
-rw-r--r--spirv_msl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_msl.hpp b/spirv_msl.hpp
index 0cce958d..40ba4552 100644
--- a/spirv_msl.hpp
+++ b/spirv_msl.hpp
@@ -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
// 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;
// Same as get_automatic_msl_resource_binding, but should only be used for combined image samplers for multiplanar images,