From 99b3587dd302d78d62d3bbf8fcd39fd62e58e523 Mon Sep 17 00:00:00 2001 From: Benjamin Doherty Date: Mon, 9 Sep 2024 12:28:35 -0700 Subject: [PATCH] Update comment --- filament/backend/src/metal/MetalHandles.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filament/backend/src/metal/MetalHandles.mm b/filament/backend/src/metal/MetalHandles.mm index 65e110ff37..e16d5191d1 100644 --- a/filament/backend/src/metal/MetalHandles.mm +++ b/filament/backend/src/metal/MetalHandles.mm @@ -1265,7 +1265,8 @@ id MetalDescriptorSetLayout::getArgumentEncoderSlow(id const& textureTypes) { auto const& bindings = getBindings(); NSMutableArray* arguments = [NSMutableArray new]; - // important! the bindings must be sorted by binding number + // Important! The bindings must be sorted by binding number. This has already been done inside + // createDescriptorSetLayout. size_t textureIndex = 0; for (auto const& binding : bindings) { if (!hasShaderType(binding.stageFlags, stage)) {