RetroArch
ResourceLimits.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
3 // Copyright (C) 2013 LunarG, Inc.
4 //
5 // All rights reserved.
6 //
7 // Redistribution and use in source and binary forms, with or without
8 // modification, are permitted provided that the following conditions
9 // are met:
10 //
11 // Redistributions of source code must retain the above copyright
12 // notice, this list of conditions and the following disclaimer.
13 //
14 // Redistributions in binary form must reproduce the above
15 // copyright notice, this list of conditions and the following
16 // disclaimer in the documentation and/or other materials provided
17 // with the distribution.
18 //
19 // Neither the name of 3Dlabs Inc. Ltd. nor the names of its
20 // contributors may be used to endorse or promote products derived
21 // from this software without specific prior written permission.
22 //
23 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
26 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27 // COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
29 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 // POSSIBILITY OF SUCH DAMAGE.
35 //
36 
37 #ifndef _RESOURCE_LIMITS_INCLUDED_
38 #define _RESOURCE_LIMITS_INCLUDED_
39 
40 struct TLimits {
42  bool whileLoops;
50 };
51 
53  int maxLights;
136 
138 };
139 
140 #endif // _RESOURCE_LIMITS_INCLUDED_
int maxComputeTextureImageUnits
Definition: ResourceLimits.h:80
int maxGeometryTextureImageUnits
Definition: ResourceLimits.h:99
int maxTessControlOutputComponents
Definition: ResourceLimits.h:105
int maxVertexAtomicCounters
Definition: ResourceLimits.h:117
int maxTessPatchComponents
Definition: ResourceLimits.h:113
int maxFragmentAtomicCounterBuffers
Definition: ResourceLimits.h:128
int maxTessControlUniformComponents
Definition: ResourceLimits.h:107
int maxVertexAttribs
Definition: ResourceLimits.h:57
int maxTessEvaluationAtomicCounterBuffers
Definition: ResourceLimits.h:126
bool generalSamplerIndexing
Definition: ResourceLimits.h:47
int maxVaryingVectors
Definition: ResourceLimits.h:66
int maxTessGenLevel
Definition: ResourceLimits.h:115
int maxTessControlTextureImageUnits
Definition: ResourceLimits.h:106
int maxCombinedImageUniforms
Definition: ResourceLimits.h:98
int maxTessEvaluationOutputComponents
Definition: ResourceLimits.h:110
int maxComputeImageUniforms
Definition: ResourceLimits.h:81
int maxImageUnits
Definition: ResourceLimits.h:89
int maxTessEvaluationUniformComponents
Definition: ResourceLimits.h:112
bool generalConstantMatrixVectorIndexing
Definition: ResourceLimits.h:49
int maxFragmentUniformVectors
Definition: ResourceLimits.h:67
Definition: ResourceLimits.h:52
int maxSamples
Definition: ResourceLimits.h:135
int maxViewports
Definition: ResourceLimits.h:116
int maxVertexOutputComponents
Definition: ResourceLimits.h:85
int maxFragmentUniformComponents
Definition: ResourceLimits.h:63
int maxComputeAtomicCounterBuffers
Definition: ResourceLimits.h:83
int maxTextureImageUnits
Definition: ResourceLimits.h:62
int maxTessControlImageUniforms
Definition: ResourceLimits.h:94
int maxTransformFeedbackInterleavedComponents
Definition: ResourceLimits.h:132
int maxComputeAtomicCounters
Definition: ResourceLimits.h:82
int maxTessEvaluationInputComponents
Definition: ResourceLimits.h:109
int maxCombinedShaderOutputResources
Definition: ResourceLimits.h:91
int maxImageSamples
Definition: ResourceLimits.h:92
int maxDrawBuffers
Definition: ResourceLimits.h:64
int maxClipPlanes
Definition: ResourceLimits.h:54
int maxGeometryVaryingComponents
Definition: ResourceLimits.h:103
int maxTessEvaluationTextureImageUnits
Definition: ResourceLimits.h:111
int maxComputeWorkGroupSizeZ
Definition: ResourceLimits.h:78
int maxComputeWorkGroupSizeY
Definition: ResourceLimits.h:77
bool generalAttributeMatrixVectorIndexing
Definition: ResourceLimits.h:45
int maxCullDistances
Definition: ResourceLimits.h:133
int maxProgramTexelOffset
Definition: ResourceLimits.h:71
int maxVaryingFloats
Definition: ResourceLimits.h:59
int maxVertexUniformComponents
Definition: ResourceLimits.h:58
int maxComputeWorkGroupCountZ
Definition: ResourceLimits.h:75
int maxCombinedTextureImageUnits
Definition: ResourceLimits.h:61
bool generalVariableIndexing
Definition: ResourceLimits.h:48
int maxCombinedClipAndCullDistances
Definition: ResourceLimits.h:134
int maxVertexUniformVectors
Definition: ResourceLimits.h:65
int maxGeometryImageUniforms
Definition: ResourceLimits.h:96
int maxVertexImageUniforms
Definition: ResourceLimits.h:93
int maxTessControlInputComponents
Definition: ResourceLimits.h:104
int maxGeometryAtomicCounters
Definition: ResourceLimits.h:120
int maxComputeWorkGroupSizeX
Definition: ResourceLimits.h:76
int maxCombinedImageUnitsAndFragmentOutputs
Definition: ResourceLimits.h:90
int maxTessControlAtomicCounters
Definition: ResourceLimits.h:118
int maxTessControlAtomicCounterBuffers
Definition: ResourceLimits.h:125
int maxTessControlTotalOutputComponents
Definition: ResourceLimits.h:108
int maxTransformFeedbackBuffers
Definition: ResourceLimits.h:131
int maxCombinedAtomicCounterBuffers
Definition: ResourceLimits.h:129
int maxVertexOutputVectors
Definition: ResourceLimits.h:68
bool generalUniformIndexing
Definition: ResourceLimits.h:44
int maxFragmentAtomicCounters
Definition: ResourceLimits.h:121
int maxAtomicCounterBufferSize
Definition: ResourceLimits.h:130
bool whileLoops
Definition: ResourceLimits.h:42
int maxTextureCoords
Definition: ResourceLimits.h:56
int minProgramTexelOffset
Definition: ResourceLimits.h:70
int maxGeometryAtomicCounterBuffers
Definition: ResourceLimits.h:127
int maxVertexTextureImageUnits
Definition: ResourceLimits.h:60
int maxTessEvaluationAtomicCounters
Definition: ResourceLimits.h:119
int maxLights
Definition: ResourceLimits.h:53
int maxClipDistances
Definition: ResourceLimits.h:72
int maxFragmentImageUniforms
Definition: ResourceLimits.h:97
int maxTextureUnits
Definition: ResourceLimits.h:55
int maxFragmentInputComponents
Definition: ResourceLimits.h:88
int maxPatchVertices
Definition: ResourceLimits.h:114
Definition: ResourceLimits.h:40
int maxComputeWorkGroupCountY
Definition: ResourceLimits.h:74
int maxComputeUniformComponents
Definition: ResourceLimits.h:79
bool generalVaryingIndexing
Definition: ResourceLimits.h:46
int maxFragmentInputVectors
Definition: ResourceLimits.h:69
int maxCombinedAtomicCounters
Definition: ResourceLimits.h:122
bool nonInductiveForLoops
Definition: ResourceLimits.h:41
int maxGeometryTotalOutputComponents
Definition: ResourceLimits.h:101
int maxVaryingComponents
Definition: ResourceLimits.h:84
int maxAtomicCounterBindings
Definition: ResourceLimits.h:123
int maxTessEvaluationImageUniforms
Definition: ResourceLimits.h:95
int maxGeometryInputComponents
Definition: ResourceLimits.h:86
int maxVertexAtomicCounterBuffers
Definition: ResourceLimits.h:124
int maxGeometryUniformComponents
Definition: ResourceLimits.h:102
bool doWhileLoops
Definition: ResourceLimits.h:43
int maxGeometryOutputVertices
Definition: ResourceLimits.h:100
TLimits limits
Definition: ResourceLimits.h:137
int maxGeometryOutputComponents
Definition: ResourceLimits.h:87
int maxComputeWorkGroupCountX
Definition: ResourceLimits.h:73