Lines Matching refs:binding

442 /** Descriptor set layout binding */

445 uint32_t binding { PipelineLayoutConstants::INVALID_INDEX };
484 /** Vertex input binding description */
487 uint32_t binding { ~0u };
499 uint32_t binding { ~0u };
615 DescriptorSetLayoutBinding binding;
616 binding.binding = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8));
618 binding.descriptorType = static_cast<DescriptorType>(*ptr | (*(ptr + 1) << 8));
620 binding.descriptorCount = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8));
622 binding.shaderStageFlags = static_cast<ShaderStageFlagBits>(header.type);
623 layout.bindings.push_back(binding);
665 desc.binding = desc.location;
986 [bindingIndex](const DescriptorSetLayoutBinding& binding) { return binding.binding == bindingIndex; });
990 DescriptorSetLayoutBinding binding;
991 binding.binding = bindingIndex;
992 binding.descriptorType = type;
993 binding.descriptorCount = spirType.array.empty() ? 1 : spirType.array[0];
994 binding.shaderStageFlags = shaderStateFlags;
996 bindings.emplace_back(binding);
1044 return (lhs.binding < rhs.binding);
1175 // For now, assume that every vertex attribute comes from it's own binding which equals the location.
1177 info.description.binding = info.description.location;
1186 // Sort input attributes by binding and location.
1189 if (aA.description.binding < aB.description.binding) {
1320 for (const auto& binding : layout.bindings) {
1321 push(reflection, static_cast<uint16_t>(binding.binding));
1322 push(reflection, static_cast<uint16_t>(binding.descriptorType));
1323 push(reflection, static_cast<uint16_t>(binding.descriptorCount));
1391 [](auto const& lhs, auto const& rhs) { return (lhs.binding < rhs.binding); });
1402 const auto binding = get_binding(compiler, remap.id);
1405 const auto nameLen = sprintf(name.data(), "s%u_b%u", binding.set, binding.bind);
1439 Collect(compiler, res.uniform_buffers, 0); // 0 == remove binding decorations (let's the compiler decide)
1440 Collect(compiler, res.subpass_inputs, 0); // 0 == remove binding decorations (let's the compiler decide)
1443 Collect(compiler, res.sampled_images, 0); // 0 == remove binding decorations (let's the compiler decide)