blocks.
Affects:
dEQP-VK.binding_model.descriptorset_random.*.iublimit*
VK-GL-CTS Issue: 4115
Components: Vulkan
Change-Id: I649d86b859ca642b47c1fda4aa915e1d6616c898
binding.descriptorCount = (arraySizes[b] ? arraySizes[b] : 1) * 16 + 16; // add 16 for "ivec4 unused"
numInlineUniformBlocks++;
}
+ else
+ {
+ // The meaning of descriptorCount for inline uniform blocks is diferrent from usual, which means
+ // (descriptorCount == 0) doesn't mean it will be discarded.
+ // So we use a similar trick to the below by replacing with a different type of descriptor.
+ binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE;
+ }
}
else
{