diff options
author | Jason Ekstrand <[email protected]> | 2015-07-14 17:10:37 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-07-14 17:10:37 -0700 |
commit | e5db209d54c313965b50fbe7403e0df8df551109 (patch) | |
tree | 4521ca1abd0e1137b2c84fb7216ee385144cceb6 | |
parent | c7fcfebd5bb5e1fb51b15615ecb091dbc986885d (diff) |
vk/vulkan.h: Move around buffer image granularities
-rw-r--r-- | include/vulkan/vulkan.h | 2 | ||||
-rw-r--r-- | src/vulkan/device.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index b9db32954a8..fa9f6085d75 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -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; diff --git a/src/vulkan/device.c b/src/vulkan/device.c index b53000a5372..d86a297e11f 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -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, |