mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
vk/vulkan.h: Move around buffer image granularities
This commit is contained in:
parent
c7fcfebd5b
commit
e5db209d54
2 changed files with 2 additions and 1 deletions
|
|
@ -1210,6 +1210,7 @@ typedef struct {
|
|||
uint32_t maxStorageBufferSize;
|
||||
uint32_t maxPushConstantsSize;
|
||||
uint32_t maxMemoryAllocationCount;
|
||||
VkDeviceSize bufferImageGranularity;
|
||||
uint32_t maxBoundDescriptorSets;
|
||||
uint32_t maxDescriptorSets;
|
||||
uint32_t maxPerStageDescriptorSamplers;
|
||||
|
|
@ -1375,7 +1376,6 @@ typedef struct {
|
|||
typedef struct {
|
||||
VkDeviceSize size;
|
||||
VkDeviceSize alignment;
|
||||
VkDeviceSize granularity;
|
||||
uint32_t memoryTypeBits;
|
||||
} VkMemoryRequirements;
|
||||
|
||||
|
|
|
|||
|
|
@ -280,6 +280,7 @@ VkResult anv_GetPhysicalDeviceLimits(
|
|||
.maxStorageBufferSize = UINT32_MAX,
|
||||
.maxPushConstantsSize = 128,
|
||||
.maxMemoryAllocationCount = UINT32_MAX,
|
||||
.bufferImageGranularity = 64, /* A cache line */
|
||||
.maxBoundDescriptorSets = MAX_SETS,
|
||||
.maxDescriptorSets = UINT32_MAX,
|
||||
.maxPerStageDescriptorSamplers = 64,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue