-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlimit.go
44 lines (42 loc) · 1.27 KB
/
limit.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package rd
// Limit defines the maximum value for a particular feature supported by the rendering device.
type Limit int
const (
LimitMaxBoundUniformSets Limit = iota
LimitMaxFramebufferColorAttachments
LimitMaxTexturesPerUniformSet
LimitMaxSamplersPerUniformSet
LimitMaxStorageBuffersPerUniformSet
LimitMaxStorageImagesPerUniformSet
LimitMaxUniformBuffersPerUniformSet
LimitMaxDrawIndexedIndex
LimitMaxFramebufferHeight
LimitMaxFramebufferWidth
LimitMaxTextureArrayLayers
LimitMaxTextureSize1D
LimitMaxTextureSize2D
LimitMaxTextureSize3D
LimitMaxTextureSizeCube
LimitMaxTexturesPerShaderStage
LimitMaxSamplersPerShaderStage
LimitMaxStorageBuffersPerShaderStage
LimitMaxStorageImagesPerShaderStage
LimitMaxUniformBuffersPerShaderStage
LimitMaxPushConstantSize
LimitMaxUniformBufferSize
LimitMaxVertexInputAttributeOffset
LimitMaxVertexInputAttributes
LimitMaxVertexInputBindings
LimitMaxVertexInputBindingStride
LimitMinUniformBufferOffsetAlignment
LimitMaxComputeSharedMemorySize
LimitMaxComputeWorkgroupCountX
LimitMaxComputeWorkgroupCountY
LimitMaxComputeWorkgroupCountZ
LimitMaxComputeWorkgroupInvocations
LimitMaxComputeWorkgroupSizeX
LimitMaxComputeWorkgroupSizeY
LimitMaxComputeWorkgroupSizeZ
LimitMaxViewportDimensionsX
LimitMaxViewportDimensionsY
)