uint32_t maxStorageBufferSize;
uint32_t maxPushConstantsSize;
uint32_t maxMemoryAllocationCount;
+ VkDeviceSize bufferImageGranularity;
uint32_t maxBoundDescriptorSets;
uint32_t maxDescriptorSets;
uint32_t maxPerStageDescriptorSamplers;
typedef struct {
VkDeviceSize size;
VkDeviceSize alignment;
- VkDeviceSize granularity;
uint32_t memoryTypeBits;
} VkMemoryRequirements;
.maxStorageBufferSize = UINT32_MAX,
.maxPushConstantsSize = 128,
.maxMemoryAllocationCount = UINT32_MAX,
+ .bufferImageGranularity = 64, /* A cache line */
.maxBoundDescriptorSets = MAX_SETS,
.maxDescriptorSets = UINT32_MAX,
.maxPerStageDescriptorSamplers = 64,