{
bindings.emplace_back();
VkDescriptorSetLayoutBinding &binding = bindings.back();
- binding.binding = b.bind_point;
+ binding.binding = b.bind_point&0xFFFFF;
binding.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER;
binding.descriptorCount = 1;
binding.stageFlags = VK_SHADER_STAGE_ALL;
{
bindings.emplace_back();
VkDescriptorSetLayoutBinding &binding = bindings.back();
- binding.binding = u.binding;
+ binding.binding = u.binding&0xFFFFF;
binding.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
binding.descriptorCount = 1;
binding.stageFlags = VK_SHADER_STAGE_ALL;