Merge \\\\\"DO NOT MERGE CP vertex array test and warning fixes\\\\\" into marshmallo...
[platform/upstream/VK-GL-CTS.git] / framework / opengl / gluQueryUtil.inl
1 /* WARNING: This is auto-generated file. Do not modify, since changes will
2  * be lost! Modify the generating script instead.
3  *
4  * Generated from Khronos GL API description (gl.xml) revision 32093.
5  */
6
7 int getBasicQueryNumArgsOut (int pname)
8 {
9         switch(pname)
10         {
11                 case GL_VIEWPORT:                                               return 4;
12                 case GL_DEPTH_RANGE:                                    return 2;
13                 case GL_SCISSOR_BOX:                                    return 4;
14                 case GL_COLOR_WRITEMASK:                                return 4;
15                 case GL_ALIASED_POINT_SIZE_RANGE:               return 2;
16                 case GL_ALIASED_LINE_WIDTH_RANGE:               return 2;
17                 case GL_MAX_VIEWPORT_DIMS:                              return 2;
18                 case GL_MAX_COMPUTE_WORK_GROUP_COUNT:   return 3;
19                 case GL_MAX_COMPUTE_WORK_GROUP_SIZE:    return 3;
20                 case GL_PRIMITIVE_BOUNDING_BOX_EXT:             return 8;
21                 default:                                                                return 1;
22         }
23 }
24
25 int getIndexedQueryNumArgsOut (int pname)
26 {
27         switch(pname)
28         {
29                 case GL_COLOR_WRITEMASK:        return 4;
30                 default:                                        return 1;
31         }
32 }
33
34 int getAttributeQueryNumArgsOut (int pname)
35 {
36         switch(pname)
37         {
38                 case GL_CURRENT_VERTEX_ATTRIB:  return 4;
39                 default:                                                return 1;
40         }
41 }
42
43 int getProgramQueryNumArgsOut (int pname)
44 {
45         switch(pname)
46         {
47                 case GL_COMPUTE_WORK_GROUP_SIZE:        return 3;
48                 default:                                                        return 1;
49         }
50 }
51
52 int getTextureParamQueryNumArgsOut (int pname)
53 {
54         switch(pname)
55         {
56                 case GL_TEXTURE_BORDER_COLOR:   return 4;
57                 default:                                                return 1;
58         }
59 }