diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-10-31 00:31:16 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-11-03 15:21:48 -0700 |
| commit | f05364eff466254d4f0d11529e27ff6ad589284f (patch) | |
| tree | a3ef6bb20ab402b1b4cdcfc35d01c829c52c0939 /include | |
| parent | 082a620480e010db78dd8e998cef9680982245c9 (diff) | |
| download | usermoji-f05364eff466254d4f0d11529e27ff6ad589284f.tar.xz | |
bug 15040: Add device limit for maximum number of samplers (and other objects?) (WIP)
Add maxSamplerAllocationCount.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15040
Diffstat (limited to 'include')
| -rw-r--r-- | include/vulkan.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/vulkan.h b/include/vulkan.h index b4e1e30e..81969063 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -123,9 +123,10 @@ typedef enum VkResult { VK_ERROR_EXTENSION_NOT_PRESENT = -7, VK_ERROR_FEATURE_NOT_PRESENT = -8, VK_ERROR_INCOMPATIBLE_DRIVER = -9, - VK_RESULT_BEGIN_RANGE = VK_ERROR_INCOMPATIBLE_DRIVER, + VK_ERROR_TOO_MANY_OBJECTS = -10, + VK_RESULT_BEGIN_RANGE = VK_ERROR_TOO_MANY_OBJECTS, VK_RESULT_END_RANGE = VK_INCOMPLETE, - VK_RESULT_RANGE_SIZE = (VK_INCOMPLETE - VK_ERROR_INCOMPATIBLE_DRIVER + 1), + VK_RESULT_RANGE_SIZE = (VK_INCOMPLETE - VK_ERROR_TOO_MANY_OBJECTS + 1), VK_RESULT_MAX_ENUM = 0x7FFFFFFF } VkResult; @@ -1192,6 +1193,7 @@ typedef struct VkPhysicalDeviceLimits { uint32_t maxStorageBufferRange; uint32_t maxPushConstantsSize; uint32_t maxMemoryAllocationCount; + uint32_t maxSamplerAllocationCount; VkDeviceSize bufferImageGranularity; VkDeviceSize sparseAddressSpaceSize; uint32_t maxBoundDescriptorSets; |
