1 | /*
|
---|
2 | ** Copyright (c) 2014-2016 The Khronos Group Inc.
|
---|
3 | **
|
---|
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:
|
---|
10 | **
|
---|
11 | ** The above copyright notice and this permission notice shall be included in
|
---|
12 | ** all copies or substantial portions of the Materials.
|
---|
13 | **
|
---|
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/
|
---|
17 | **
|
---|
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
|
---|
24 | ** IN THE MATERIALS.
|
---|
25 | */
|
---|
26 |
|
---|
27 | #ifndef GLSLstd450_HPP
|
---|
28 | #define GLSLstd450_HPP
|
---|
29 |
|
---|
30 | namespace spv {
|
---|
31 |
|
---|
32 | static const int GLSLstd450Version = 100;
|
---|
33 | static const int GLSLstd450Revision = 3;
|
---|
34 |
|
---|
35 | enum GLSLstd450 {
|
---|
36 | GLSLstd450Bad = 0, // Don't use
|
---|
37 |
|
---|
38 | GLSLstd450Round = 1,
|
---|
39 | GLSLstd450RoundEven = 2,
|
---|
40 | GLSLstd450Trunc = 3,
|
---|
41 | GLSLstd450FAbs = 4,
|
---|
42 | GLSLstd450SAbs = 5,
|
---|
43 | GLSLstd450FSign = 6,
|
---|
44 | GLSLstd450SSign = 7,
|
---|
45 | GLSLstd450Floor = 8,
|
---|
46 | GLSLstd450Ceil = 9,
|
---|
47 | GLSLstd450Fract = 10,
|
---|
48 |
|
---|
49 | GLSLstd450Radians = 11,
|
---|
50 | GLSLstd450Degrees = 12,
|
---|
51 | GLSLstd450Sin = 13,
|
---|
52 | GLSLstd450Cos = 14,
|
---|
53 | GLSLstd450Tan = 15,
|
---|
54 | GLSLstd450Asin = 16,
|
---|
55 | GLSLstd450Acos = 17,
|
---|
56 | GLSLstd450Atan = 18,
|
---|
57 | GLSLstd450Sinh = 19,
|
---|
58 | GLSLstd450Cosh = 20,
|
---|
59 | GLSLstd450Tanh = 21,
|
---|
60 | GLSLstd450Asinh = 22,
|
---|
61 | GLSLstd450Acosh = 23,
|
---|
62 | GLSLstd450Atanh = 24,
|
---|
63 | GLSLstd450Atan2 = 25,
|
---|
64 |
|
---|
65 | GLSLstd450Pow = 26,
|
---|
66 | GLSLstd450Exp = 27,
|
---|
67 | GLSLstd450Log = 28,
|
---|
68 | GLSLstd450Exp2 = 29,
|
---|
69 | GLSLstd450Log2 = 30,
|
---|
70 | GLSLstd450Sqrt = 31,
|
---|
71 | GLSLstd450InverseSqrt = 32,
|
---|
72 |
|
---|
73 | GLSLstd450Determinant = 33,
|
---|
74 | GLSLstd450MatrixInverse = 34,
|
---|
75 |
|
---|
76 | GLSLstd450Modf = 35, // second operand needs an OpVariable to write to
|
---|
77 | GLSLstd450ModfStruct = 36, // no OpVariable operand
|
---|
78 | GLSLstd450FMin = 37,
|
---|
79 | GLSLstd450UMin = 38,
|
---|
80 | GLSLstd450SMin = 39,
|
---|
81 | GLSLstd450FMax = 40,
|
---|
82 | GLSLstd450UMax = 41,
|
---|
83 | GLSLstd450SMax = 42,
|
---|
84 | GLSLstd450FClamp = 43,
|
---|
85 | GLSLstd450UClamp = 44,
|
---|
86 | GLSLstd450SClamp = 45,
|
---|
87 | GLSLstd450FMix = 46,
|
---|
88 | GLSLstd450IMix = 47, // Reserved
|
---|
89 | GLSLstd450Step = 48,
|
---|
90 | GLSLstd450SmoothStep = 49,
|
---|
91 |
|
---|
92 | GLSLstd450Fma = 50,
|
---|
93 | GLSLstd450Frexp = 51, // second operand needs an OpVariable to write to
|
---|
94 | GLSLstd450FrexpStruct = 52, // no OpVariable operand
|
---|
95 | GLSLstd450Ldexp = 53,
|
---|
96 |
|
---|
97 | GLSLstd450PackSnorm4x8 = 54,
|
---|
98 | GLSLstd450PackUnorm4x8 = 55,
|
---|
99 | GLSLstd450PackSnorm2x16 = 56,
|
---|
100 | GLSLstd450PackUnorm2x16 = 57,
|
---|
101 | GLSLstd450PackHalf2x16 = 58,
|
---|
102 | GLSLstd450PackDouble2x32 = 59,
|
---|
103 | GLSLstd450UnpackSnorm2x16 = 60,
|
---|
104 | GLSLstd450UnpackUnorm2x16 = 61,
|
---|
105 | GLSLstd450UnpackHalf2x16 = 62,
|
---|
106 | GLSLstd450UnpackSnorm4x8 = 63,
|
---|
107 | GLSLstd450UnpackUnorm4x8 = 64,
|
---|
108 | GLSLstd450UnpackDouble2x32 = 65,
|
---|
109 |
|
---|
110 | GLSLstd450Length = 66,
|
---|
111 | GLSLstd450Distance = 67,
|
---|
112 | GLSLstd450Cross = 68,
|
---|
113 | GLSLstd450Normalize = 69,
|
---|
114 | GLSLstd450FaceForward = 70,
|
---|
115 | GLSLstd450Reflect = 71,
|
---|
116 | GLSLstd450Refract = 72,
|
---|
117 |
|
---|
118 | GLSLstd450FindILsb = 73,
|
---|
119 | GLSLstd450FindSMsb = 74,
|
---|
120 | GLSLstd450FindUMsb = 75,
|
---|
121 |
|
---|
122 | GLSLstd450InterpolateAtCentroid = 76,
|
---|
123 | GLSLstd450InterpolateAtSample = 77,
|
---|
124 | GLSLstd450InterpolateAtOffset = 78,
|
---|
125 |
|
---|
126 | GLSLstd450NMin = 79,
|
---|
127 | GLSLstd450NMax = 80,
|
---|
128 | GLSLstd450NClamp = 81,
|
---|
129 |
|
---|
130 | GLSLstd450Count
|
---|
131 | };
|
---|
132 |
|
---|
133 | }
|
---|
134 |
|
---|
135 | #endif // #ifndef GLSLstd450_HPP
|
---|