.bufferImageGranularity = 64, /* A cache line */
.sparseAddressSpaceSize = 0xffffffffu, /* buffer max size */
.maxBoundDescriptorSets = MAX_SETS,
- .maxPerStageDescriptorSamplers = 64,
- .maxPerStageDescriptorUniformBuffers = 64,
- .maxPerStageDescriptorStorageBuffers = 64,
- .maxPerStageDescriptorSampledImages = 64,
- .maxPerStageDescriptorStorageImages = 64,
- .maxPerStageDescriptorInputAttachments = 64,
- .maxPerStageResources = 128,
+ .maxPerStageDescriptorSamplers = (1u << 31) / 16,
+ .maxPerStageDescriptorUniformBuffers = (1u << 31) / 16,
+ .maxPerStageDescriptorStorageBuffers = (1u << 31) / 16,
+ .maxPerStageDescriptorSampledImages = (1u << 31) / 96,
+ .maxPerStageDescriptorStorageImages = (1u << 31) / 64,
+ .maxPerStageDescriptorInputAttachments = (1u << 31) / 64,
+ .maxPerStageResources = (1u << 31) / 32,
.maxDescriptorSetSamplers = 256,
- .maxDescriptorSetUniformBuffers = 256,
- .maxDescriptorSetUniformBuffersDynamic = 256,
- .maxDescriptorSetStorageBuffers = 256,
- .maxDescriptorSetStorageBuffersDynamic = 256,
- .maxDescriptorSetSampledImages = 256,
- .maxDescriptorSetStorageImages = 256,
- .maxDescriptorSetInputAttachments = 256,
+ .maxDescriptorSetUniformBuffers = (1u << 31) / 16,
+ .maxDescriptorSetUniformBuffersDynamic = 8,
+ .maxDescriptorSetStorageBuffers = (1u << 31) / 16,
+ .maxDescriptorSetStorageBuffersDynamic = 8,
+ .maxDescriptorSetSampledImages = (1u << 31) / 96,
+ .maxDescriptorSetStorageImages = (1u << 31) / 64,
+ .maxDescriptorSetInputAttachments = (1u << 31) / 64,
.maxVertexInputAttributes = 32,
.maxVertexInputBindings = 32,
.maxVertexInputAttributeOffset = 2047,