2 ** Copyright (c) 2014-2016 The Khronos Group Inc.
4 ** Permission is hereby granted, free of charge, to any person obtaining a copy
5 ** of this software and/or associated documentation files (the "Materials"),
6 ** to deal in the Materials without restriction, including without limitation
7 ** the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 ** and/or sell copies of the Materials, and to permit persons to whom the
9 ** Materials are furnished to do so, subject to the following conditions:
11 ** The above copyright notice and this permission notice shall be included in
12 ** all copies or substantial portions of the Materials.
14 ** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
15 ** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
16 ** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
18 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 ** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 ** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 ** THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 ** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 ** FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
30 static const int GLSLstd450Version = 100;
31 static const int GLSLstd450Revision = 1;
34 GLSLstd450Bad = 0, // Don't use
37 GLSLstd450RoundEven = 2,
47 GLSLstd450Radians = 11,
48 GLSLstd450Degrees = 12,
69 GLSLstd450InverseSqrt = 32,
71 GLSLstd450Determinant = 33,
72 GLSLstd450MatrixInverse = 34,
74 GLSLstd450Modf = 35, // second operand needs an OpVariable to write to
75 GLSLstd450ModfStruct = 36, // no OpVariable operand
82 GLSLstd450FClamp = 43,
83 GLSLstd450UClamp = 44,
84 GLSLstd450SClamp = 45,
86 GLSLstd450IMix = 47, // Reserved
88 GLSLstd450SmoothStep = 49,
91 GLSLstd450Frexp = 51, // second operand needs an OpVariable to write to
92 GLSLstd450FrexpStruct = 52, // no OpVariable operand
95 GLSLstd450PackSnorm4x8 = 54,
96 GLSLstd450PackUnorm4x8 = 55,
97 GLSLstd450PackSnorm2x16 = 56,
98 GLSLstd450PackUnorm2x16 = 57,
99 GLSLstd450PackHalf2x16 = 58,
100 GLSLstd450PackDouble2x32 = 59,
101 GLSLstd450UnpackSnorm2x16 = 60,
102 GLSLstd450UnpackUnorm2x16 = 61,
103 GLSLstd450UnpackHalf2x16 = 62,
104 GLSLstd450UnpackSnorm4x8 = 63,
105 GLSLstd450UnpackUnorm4x8 = 64,
106 GLSLstd450UnpackDouble2x32 = 65,
108 GLSLstd450Length = 66,
109 GLSLstd450Distance = 67,
110 GLSLstd450Cross = 68,
111 GLSLstd450Normalize = 69,
112 GLSLstd450FaceForward = 70,
113 GLSLstd450Reflect = 71,
114 GLSLstd450Refract = 72,
116 GLSLstd450FindILsb = 73,
117 GLSLstd450FindSMsb = 74,
118 GLSLstd450FindUMsb = 75,
120 GLSLstd450InterpolateAtCentroid = 76,
121 GLSLstd450InterpolateAtSample = 77,
122 GLSLstd450InterpolateAtOffset = 78,
126 GLSLstd450NClamp = 81,
131 #endif // #ifndef GLSLstd450_H