Interface VulkanPhysicalDeviceLimitsType
- All Known Implementing Classes:
VulkanPhysicalDeviceLimits
@Immutable
public interface VulkanPhysicalDeviceLimitsType
The limits of a physical device.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlongintintintintintfloatintintintintintintintintintintintintintintintintintintintintintintintintintintintintintintintintintintfloatintintintintintintintintintintintfloatfloatintintintintintintintintintintintintintintintintintintintfloatlonglonglongintintlongintlonglonglongfloatintintintintlongbooleanintbooleanintintintbooleanfloatint
-
Method Details
-
bufferImageGranularity
long bufferImageGranularity()- Returns:
- the granularity, in bytes, at which buffer or linear image resources, and optimal image resources can be bound to adjacent offsets in the same VkDeviceMemory object without aliasing.
-
discreteQueuePriorities
int discreteQueuePriorities()- Returns:
- the number of discrete priorities that can be assigned to a queue based on the value of each member of VkDeviceQueueCreateInfo::pQueuePriorities. This must be at least 2, and levels must be spread evenly over the range, with at least one level at 1.0, and another at 0.0. For example, if this value is 2 bits then when linearly filtering between two levels, each level could: contribute: 0%, 33%, 66%, or 100% (this is just an example and the amount of contribution should be covered by different equations in the spec).
-
framebufferColorSampleCounts
int framebufferColorSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the color sample counts that are supported for all framebuffer color attachments with floating- or fixed-point formats. There is no limit that specifies the color sample counts that are supported for all color attachments with integer formats.
-
framebufferDepthSampleCounts
int framebufferDepthSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the supported depth sample counts for all framebuffer depth/stencil attachments, when the format includes a depth component.
-
framebufferNoAttachmentsSampleCounts
int framebufferNoAttachmentsSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the supported sample counts for a framebuffer with no attachments.
-
framebufferStencilSampleCounts
int framebufferStencilSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the supported stencil sample counts for all framebuffer depth/stencil attachments, when the format includes a stencil component.
-
lineWidthGranularity
float lineWidthGranularity()- Returns:
- the granularity of supported line widths. Not all line widths in the range defined by lineWidthRange are supported. This limit specifies the granularity (or increment) between successive supported line widths.
-
lineWidthRange
VulkanLineWidthRange lineWidthRange()- Returns:
- the range [minimum,maximum] of supported widths for lines. Values specified by the lineWidth member of the VkPipelineRasterizationStateCreateInfo or the lineWidth parameter to vkCmdSetLineWidth are clamped to this range.
-
maxBoundDescriptorSets
int maxBoundDescriptorSets()- Returns:
- the maximum number of descriptor sets that can be simultaneously used by a pipeline. All DescriptorSet decorations in shader modules must have a value less than maxBoundDescriptorSets.
-
maxClipDistances
int maxClipDistances()- Returns:
- the maximum number of clip distances that can be used in a single shader stage. The size of any array declared with the ClipDistance built-in decoration in a shader module must be less than or equal to this limit.
-
maxColorAttachments
int maxColorAttachments()- Returns:
- the maximum number of color attachments that can be used by a subpass in a render pass. The colorAttachmentCount member of the VkSubpassDescription structure must be less than or equal to this limit.
-
maxCombinedClipAndCullDistances
int maxCombinedClipAndCullDistances()- Returns:
- the maximum combined number of clip and cull distances that can be used in a single shader stage. The sum of the sizes of any pair of arrays declared with the ClipDistance and CullDistance built-in decoration used by a single shader stage in a shader module must be less than or equal to this limit.
-
maxComputeWorkGroupCount
VulkanComputeWorkGroupCount maxComputeWorkGroupCount()- Returns:
- the maximum number of local workgroups that can be dispatched by a single dispatch command. These three values represent the maximum number of local workgroups for the X, Y, and Z dimensions, respectively. The workgroup count parameters to the dispatch commands must be less than or equal to the corresponding limit.
-
maxComputeWorkGroupInvocations
int maxComputeWorkGroupInvocations()- Returns:
- the maximum total number of compute shader invocations in a single local workgroup. The product of the X, Y, and Z sizes as specified by the LocalSize execution mode in shader modules and by the object decorated by the WorkgroupSize decoration must be less than or equal to this limit.
-
maxComputeWorkGroupSize
VulkanComputeWorkGroupSize maxComputeWorkGroupSize()- Returns:
- the maximum size of a local compute workgroup, per dimension. These three values represent the maximum local workgroup size in the X, Y, and Z dimensions, respectively. The x, y, and z sizes specified by the LocalSize execution mode and by the object decorated by the WorkgroupSize decoration in shader modules must be less than or equal to the corresponding limit.
-
maxCullDistances
int maxCullDistances()- Returns:
- the maximum number of cull distances that can be used in a single shader stage. The size of any array declared with the CullDistance built-in decoration in a shader module must be less than or equal to this limit.
-
maxDescriptorSetInputAttachments
int maxDescriptorSetInputAttachments()- Returns:
- the maximum number of input attachments that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetSampledImages
int maxDescriptorSetSampledImages()- Returns:
- the maximum number of sampled images that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, or VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetSamplers
int maxDescriptorSetSamplers()- Returns:
- the maximum number of samplers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_SAMPLER or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetStorageBuffersDynamic
int maxDescriptorSetStorageBuffersDynamic()- Returns:
- the maximum number of dynamic storage buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetStorageBuffers
int maxDescriptorSetStorageBuffers()- Returns:
- the maximum number of storage buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetStorageImages
int maxDescriptorSetStorageImages()- Returns:
- the maximum number of storage images that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, or VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetUniformBuffersDynamic
int maxDescriptorSetUniformBuffersDynamic()- Returns:
- the maximum number of dynamic uniform buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDescriptorSetUniformBuffers
int maxDescriptorSetUniformBuffers()- Returns:
- the maximum number of uniform buffers that can be included in descriptor bindings in a pipeline layout across all pipeline shader stages and descriptor set numbers. Descriptors with a type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit.
-
maxDrawIndexedIndexValue
int maxDrawIndexedIndexValue()- Returns:
- the maximum index value that can be used for indexed draw calls when using 32-bit indices. This excludes the primitive restart index value of 0xFFFFFFFF.
-
maxDrawIndirectCount
int maxDrawIndirectCount()- Returns:
- the maximum draw count that is supported for indirect draw calls.
-
maxFragmentCombinedOutputResources
int maxFragmentCombinedOutputResources()- Returns:
- the total number of storage buffers, storage images, and output buffers which can be used in the fragment shader stage.
-
maxFragmentDualSrcAttachments
int maxFragmentDualSrcAttachments()- Returns:
- the maximum number of output attachments which can be written to by the fragment shader stage when blending is enabled and one of the dual source blend modes is in use.
-
maxFragmentInputComponents
int maxFragmentInputComponents()- Returns:
- the maximum number of components of input variables which can be provided as inputs to the fragment shader stage.
-
maxFragmentOutputAttachments
int maxFragmentOutputAttachments()- Returns:
- the maximum number of output attachments which can be written to by the fragment shader stage.
-
maxFramebufferHeight
int maxFramebufferHeight()- Returns:
- the maximum height for a framebuffer. The height member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
-
maxFramebufferLayers
int maxFramebufferLayers()- Returns:
- the maximum layer count for a layered framebuffer. The layers member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
-
maxFramebufferWidth
int maxFramebufferWidth()- Returns:
- the maximum width for a framebuffer. The width member of the VkFramebufferCreateInfo structure must be less than or equal to this limit.
-
maxGeometryInputComponents
int maxGeometryInputComponents()- Returns:
- the maximum number of components of input variables which can be provided as inputs to the geometry shader stage.
-
maxGeometryOutputComponents
int maxGeometryOutputComponents()- Returns:
- the maximum number of components of output variables which can be output from the geometry shader stage.
-
maxGeometryOutputVertices
int maxGeometryOutputVertices()- Returns:
- the maximum number of vertices which can be emitted by any geometry shader.
-
maxGeometryShaderInvocations
int maxGeometryShaderInvocations()- Returns:
- the maximum invocation count supported for instanced geometry shaders. The value provided in the Invocations execution mode of shader modules must be less than or equal to this limit.
-
maxGeometryTotalOutputComponents
int maxGeometryTotalOutputComponents()- Returns:
- the maximum total number of components of output, across all emitted vertices, which can be output from the geometry shader stage.
-
maxImageArrayLayers
int maxImageArrayLayers()- Returns:
- the maximum number of layers (arrayLayers) for an image.
-
maxImageDimension1D
int maxImageDimension1D()- Returns:
- the maximum dimension (width) supported for all images created with an imageType of VK_IMAGE_TYPE_1D.
-
maxImageDimension2D
int maxImageDimension2D()- Returns:
- the maximum dimension (width or height) supported for all images created with an imageType of VK_IMAGE_TYPE_2D and without VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags.
-
maxImageDimension3D
int maxImageDimension3D()- Returns:
- the maximum dimension (width, height, or depth) supported for all images created with an imageType of VK_IMAGE_TYPE_3D.
-
maxImageDimensionCube
int maxImageDimensionCube()- Returns:
- the maximum dimension (width or height) supported for all images created with an imageType of VK_IMAGE_TYPE_2D and with VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT set in flags.
-
maxInterpolationOffset
float maxInterpolationOffset()- Returns:
- the maximum positive offset value for the offset operand of the InterpolateAtOffset extended instruction.
-
maxMemoryAllocationCount
int maxMemoryAllocationCount()- Returns:
- the maximum number of device memory allocations, as created by vkAllocateMemory, which can simultaneously exist.
-
maxPerStageDescriptorInputAttachments
int maxPerStageDescriptorInputAttachments()- Returns:
- the maximum number of input attachments that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set. These are only supported for the fragment stage.
-
maxPerStageDescriptorSampledImages
int maxPerStageDescriptorSampledImages()- Returns:
- the maximum number of sampled images that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, or VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorSamplers
int maxPerStageDescriptorSamplers()- Returns:
- the maximum number of samplers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_SAMPLER or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorStorageBuffers
int maxPerStageDescriptorStorageBuffers()- Returns:
- the maximum number of storage buffers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorStorageImages
int maxPerStageDescriptorStorageImages()- Returns:
- the maximum number of storage images that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, or VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a pipeline shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageDescriptorUniformBuffers
int maxPerStageDescriptorUniformBuffers()- Returns:
- the maximum number of uniform buffers that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. A descriptor is accessible to a shader stage when the stageFlags member of the VkDescriptorSetLayoutBinding structure has the bit for that shader stage set.
-
maxPerStageResources
int maxPerStageResources()- Returns:
- the maximum number of resources that can be accessible to a single shader stage in a pipeline layout. Descriptors with a type of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, or VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT count against this limit. Only descriptors in descriptor set layouts created without the VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT bit set count against this limit. For the fragment shader stage the framebuffer color attachments also count against this limit.
-
maxPushConstantsSize
int maxPushConstantsSize()- Returns:
- the maximum size, in bytes, of the pool of push constant memory. For each of the push constant ranges indicated by the pPushConstantRanges member of the VkPipelineLayoutCreateInfo structure, (offset + size) must be less than or equal to this limit.
-
maxSampleMaskWords
int maxSampleMaskWords()- Returns:
- the maximum number of array elements of a variable decorated with the SampleMask built-in decoration.
-
maxSamplerAllocationCount
int maxSamplerAllocationCount()- Returns:
- the maximum number of sampler objects, as created by vkCreateSampler, which can simultaneously exist on a device.
-
maxSamplerAnisotropy
float maxSamplerAnisotropy()- Returns:
- the maximum degree of sampler anisotropy. The maximum degree of anisotropic filtering used for an image sampling operation is the minimum of the maxAnisotropy member of the VkSamplerCreateInfo structure and this limit.
-
maxSamplerLodBias
float maxSamplerLodBias()- Returns:
- the maximum absolute sampler LOD bias. The sum of the mipLodBias member of the VkSamplerCreateInfo structure and the Bias operand of image sampling operations in shader modules (or 0 if no Bias operand is provided to an image sampling operation) are clamped to the range [-maxSamplerLodBias,+maxSamplerLodBias].
-
maxStorageBufferRange
int maxStorageBufferRange()- Returns:
- the maximum value that can be specified in the range member of any VkDescriptorBufferInfo structures passed to a call to vkUpdateDescriptorSets for descriptors of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC.
-
maxTessellationControlPerPatchOutputComponents
int maxTessellationControlPerPatchOutputComponents()- Returns:
- the maximum number of components of per-patch output variables which can be output from the tessellation control shader stage.
-
maxTessellationControlPerVertexInputComponents
int maxTessellationControlPerVertexInputComponents()- Returns:
- the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation control shader stage.
-
maxTessellationControlPerVertexOutputComponents
int maxTessellationControlPerVertexOutputComponents()- Returns:
- the maximum number of components of per-vertex output variables which can be output from the tessellation control shader stage.
-
maxTessellationControlTotalOutputComponents
int maxTessellationControlTotalOutputComponents()- Returns:
- the maximum total number of components of per-vertex and per-patch output variables which can be output from the tessellation control shader stage.
-
maxTessellationEvaluationInputComponents
int maxTessellationEvaluationInputComponents()- Returns:
- the maximum number of components of input variables which can be provided as per-vertex inputs to the tessellation evaluation shader stage.
-
maxTessellationEvaluationOutputComponents
int maxTessellationEvaluationOutputComponents()- Returns:
- the maximum number of components of per-vertex output variables which can be output from the tessellation evaluation shader stage.
-
maxTessellationGenerationLevel
int maxTessellationGenerationLevel()- Returns:
- the maximum tessellation generation level supported by the fixed-function tessellation primitive generator.
-
maxTessellationPatchSize
int maxTessellationPatchSize()- Returns:
- the maximum patch size, in vertices, of patches that can be processed by the tessellation control shader and tessellation primitive generator. The patchControlPoints member of the VkPipelineTessellationStateCreateInfo structure specified at pipeline creation time and the value provided in the OutputVertices execution mode of shader modules must be less than or equal to this limit.
-
maxTexelBufferElements
int maxTexelBufferElements()- Returns:
- the maximum number of addressable texels for a buffer view created on a buffer which was created with the VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT set in the usage member of the VkBufferCreateInfo structure.
-
maxTexelGatherOffset
int maxTexelGatherOffset()- Returns:
- the maximum offset value for the Offset or ConstOffsets image operands of any of the OpImage*Gather image instructions.
-
maxTexelOffset
int maxTexelOffset()- Returns:
- the maximum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
-
maxUniformBufferRange
int maxUniformBufferRange()- Returns:
- the maximum value that can be specified in the range member of any VkDescriptorBufferInfo structures passed to a call to vkUpdateDescriptorSets for descriptors of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC.
-
maxVertexInputAttributeOffset
int maxVertexInputAttributeOffset()- Returns:
- the maximum vertex input attribute offset that can be added to the vertex input binding stride. The offset member of the VkVertexInputAttributeDescription structure must be less than or equal to this limit.
-
maxVertexInputAttributes
int maxVertexInputAttributes()- Returns:
- the maximum number of vertex input attributes that can be specified for a graphics pipeline. These are described in the array of VkVertexInputAttributeDescription structures that are provided at graphics pipeline creation time via the pVertexAttributeDescriptions member of the VkPipelineVertexInputStateCreateInfo structure.
-
maxVertexInputBindings
int maxVertexInputBindings()- Returns:
- the maximum number of vertex buffers that can be specified for providing vertex attributes to a graphics pipeline. These are described in the array of VkVertexInputBindingDescription structures that are provided at graphics pipeline creation time via the pVertexBindingDescriptions member of the VkPipelineVertexInputStateCreateInfo structure. The binding member of VkVertexInputBindingDescription must be less than this limit.
-
maxVertexInputBindingStride
int maxVertexInputBindingStride()- Returns:
- the maximum vertex input binding stride that can be specified in a vertex input binding. The stride member of the VkVertexInputBindingDescription structure must be less than or equal to this limit.
-
maxVertexOutputComponents
int maxVertexOutputComponents()- Returns:
- the maximum number of components of output variables which can be output by a vertex shader.
-
maxViewportDimensions
VulkanViewportDimensions maxViewportDimensions()- Returns:
- are the maximum viewport dimensions in the X (width) and Y (height) dimensions, respectively. The maximum viewport dimensions must be greater than or equal to the largest image which can be created and used as a framebuffer attachment.
-
maxViewports
int maxViewports()- Returns:
- the maximum number of active viewports. The viewportCount member of the VkPipelineViewportStateCreateInfo structure that is provided at pipeline creation must be less than or equal to this limit.
-
minInterpolationOffset
float minInterpolationOffset()- Returns:
- the minimum negative offset value for the offset operand of the InterpolateAtOffset extended instruction.
-
minMemoryMapAlignment
long minMemoryMapAlignment()- Returns:
- the minimum required alignment, in bytes, of host visible memory allocations within the host address space. When mapping a memory allocation with vkMapMemory, subtracting offset bytes from the returned pointer will always produce an integer multiple of this limit.
-
minStorageBufferOffsetAlignment
long minStorageBufferOffsetAlignment()- Returns:
- the minimum required alignment, in bytes, for the offset member of the VkDescriptorBufferInfo structure for storage buffers. When a descriptor of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC is updated, the offset must be an integer multiple of this limit. Similarly, dynamic offsets for storage buffers must be multiples of this limit.
-
minTexelBufferOffsetAlignment
long minTexelBufferOffsetAlignment()- Returns:
- the minimum required alignment, in bytes, for the offset member of the VkBufferViewCreateInfo structure for texel buffers. When a buffer view is created for a buffer which was created with VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT set in the usage member of the VkBufferCreateInfo structure, the offset must be an integer multiple of this limit.
-
minTexelGatherOffset
int minTexelGatherOffset()- Returns:
- the minimum offset value for the Offset or ConstOffsets image operands of any of the OpImage*Gather image instructions.
-
minTexelOffset
int minTexelOffset()- Returns:
- the minimum offset value for the ConstOffset image operand of any of the OpImageSample* or OpImageFetch* image instructions.
-
minUniformBufferOffsetAlignment
long minUniformBufferOffsetAlignment()- Returns:
- the minimum required alignment, in bytes, for the offset member of the VkDescriptorBufferInfo structure for uniform buffers. When a descriptor of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC is updated, the offset must be an integer multiple of this limit. Similarly, dynamic offsets for uniform buffers must be multiples of this limit.
-
mipmapPrecisionBits
int mipmapPrecisionBits()- Returns:
- the number of bits of division that the LOD calculation for mipmap fetching get snapped to when determining the contribution from each mip level to the mip filtered results. 2mipmapPrecisionBits is the actual number of divisions.
-
nonCoherentAtomSize
long nonCoherentAtomSize()- Returns:
- the size and alignment in bytes that bounds concurrent access to host-mapped device memory.
-
optimalBufferCopyOffsetAlignment
long optimalBufferCopyOffsetAlignment()- Returns:
- the optimal buffer offset alignment in bytes for vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer. The per texel alignment requirements are enforced, but applications should use the optimal alignment for optimal performance and power use.
-
optimalBufferCopyRowPitchAlignment
long optimalBufferCopyRowPitchAlignment()- Returns:
- the optimal buffer row pitch alignment in bytes for vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer. Row pitch is the number of bytes between texels with the same X coordinate in adjacent rows (Y coordinates differ by one). The per texel alignment requirements are enforced, but applications should use the optimal alignment for optimal performance and power use.
-
pointSizeGranularity
float pointSizeGranularity()- Returns:
- the granularity of supported point sizes. Not all point sizes in the range defined by pointSizeRange are supported. This limit specifies the granularity (or increment) between successive supported point sizes.
-
pointSizeRange
VulkanPointSizeRange pointSizeRange()- Returns:
- the range [minimum,maximum] of supported sizes for points. Values written to variables decorated with the PointSize built-in decoration are clamped to this range.
-
sampledImageColorSampleCounts
int sampledImageColorSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and a non-integer color format.
-
sampledImageDepthSampleCounts
int sampledImageDepthSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and a depth format.
-
sampledImageIntegerSampleCounts
int sampledImageIntegerSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and an integer color format.
-
sampledImageStencilSampleCounts
int sampledImageStencilSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, usage containing VK_IMAGE_USAGE_SAMPLED_BIT, and a stencil format.
-
sparseAddressSpaceSize
long sparseAddressSpaceSize()- Returns:
- the total amount of address space available, in bytes, for sparse memory resources. This is an upper bound on the sum of the size of all sparse resources, regardless of whether any memory is bound to them.
-
standardSampleLocations
boolean standardSampleLocations()- Returns:
- specifies whether rasterization uses the standard sample locations as documented in Multisampling. If set to VK_TRUE, the implementation uses the documented sample locations. If set to VK_FALSE, the implementation may use different sample locations.
-
storageImageSampleCounts
int storageImageSampleCounts()- Returns:
- a bitmask1 of VkSampleCountFlagBits indicating the sample counts supported for all 2D images created with VK_IMAGE_TILING_OPTIMAL, and usage containing VK_IMAGE_USAGE_STORAGE_BIT.
-
strictLines
boolean strictLines()- Returns:
- specifies whether lines are rasterized according to the preferred method of rasterization. If set to VK_FALSE, lines may be rasterized under a relaxed set of rules. If set to VK_TRUE, lines are rasterized as per the strict definition.
-
subPixelInterpolationOffsetBits
int subPixelInterpolationOffsetBits()- Returns:
- the number of subpixel fractional bits that the x and y offsets to the InterpolateAtOffset extended instruction may be rounded to as fixed-point values.
-
subPixelPrecisionBits
int subPixelPrecisionBits()- Returns:
- the number of bits of subpixel precision in framebuffer coordinates xf and yf.
-
subTexelPrecisionBits
int subTexelPrecisionBits()- Returns:
- the number of bits of precision in the division along an axis of an image used for minification and magnification filters. 2subTexelPrecisionBits is the actual number of divisions along each axis of the image represented. Sub-texel values calculated during image sampling will snap to these locations when generating the filtered results.
-
timestampComputeAndGraphics
boolean timestampComputeAndGraphics()- Returns:
- specifies support for timestamps on all graphics and compute queues. If this limit is set to VK_TRUE, all queues that advertise the VK_QUEUE_GRAPHICS_BIT or VK_QUEUE_COMPUTE_BIT in the VkQueueFamilyProperties::queueFlags support VkQueueFamilyProperties::timestampValidBits of at least 36.
-
timestampPeriod
float timestampPeriod()- Returns:
- the number of nanoseconds required for a timestamp query to be incremented by 1.
-
viewportBoundsRange
VulkanViewportBoundsRange viewportBoundsRange()- Returns:
- the [minimum, maximum] range that the corners of a viewport must be contained in. This range must be at least [-2 × size, 2 × size - 1], where size = max(maxViewportDimensions[0], maxViewportDimensions[1]). The intent of the viewportBoundsRange limit is to allow a maximum sized viewport to be arbitrarily shifted relative to the output target as long as at least some portion intersects. This would give a bounds limit of [-size + 1, 2 × size - 1] which would allow all possible non-empty-set intersections of the output target and the viewport. Since these numbers are typically powers of two, picking the signed number range using the smallest possible number of bits ends up with the specified range.
-
viewportSubPixelBits
int viewportSubPixelBits()- Returns:
- the number of bits of subpixel precision for viewport bounds. The subpixel precision that floating-point viewport bounds are interpreted at is given by this limit.
-