• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2014-2016,2021 The Khronos Group, Inc.
3  * SPDX-License-Identifier: MIT
4  *
5  * MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
6  * STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
7  * HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
8 */
9 
10 #ifndef GLSLstd450_H
11 #define GLSLstd450_H
12 
13 static const int GLSLstd450Version = 100;
14 static const int GLSLstd450Revision = 3;
15 
16 enum GLSLstd450 {
17     GLSLstd450Bad = 0,              // Don't use
18 
19     GLSLstd450Round = 1,
20     GLSLstd450RoundEven = 2,
21     GLSLstd450Trunc = 3,
22     GLSLstd450FAbs = 4,
23     GLSLstd450SAbs = 5,
24     GLSLstd450FSign = 6,
25     GLSLstd450SSign = 7,
26     GLSLstd450Floor = 8,
27     GLSLstd450Ceil = 9,
28     GLSLstd450Fract = 10,
29 
30     GLSLstd450Radians = 11,
31     GLSLstd450Degrees = 12,
32     GLSLstd450Sin = 13,
33     GLSLstd450Cos = 14,
34     GLSLstd450Tan = 15,
35     GLSLstd450Asin = 16,
36     GLSLstd450Acos = 17,
37     GLSLstd450Atan = 18,
38     GLSLstd450Sinh = 19,
39     GLSLstd450Cosh = 20,
40     GLSLstd450Tanh = 21,
41     GLSLstd450Asinh = 22,
42     GLSLstd450Acosh = 23,
43     GLSLstd450Atanh = 24,
44     GLSLstd450Atan2 = 25,
45 
46     GLSLstd450Pow = 26,
47     GLSLstd450Exp = 27,
48     GLSLstd450Log = 28,
49     GLSLstd450Exp2 = 29,
50     GLSLstd450Log2 = 30,
51     GLSLstd450Sqrt = 31,
52     GLSLstd450InverseSqrt = 32,
53 
54     GLSLstd450Determinant = 33,
55     GLSLstd450MatrixInverse = 34,
56 
57     GLSLstd450Modf = 35,            // second operand needs an OpVariable to write to
58     GLSLstd450ModfStruct = 36,      // no OpVariable operand
59     GLSLstd450FMin = 37,
60     GLSLstd450UMin = 38,
61     GLSLstd450SMin = 39,
62     GLSLstd450FMax = 40,
63     GLSLstd450UMax = 41,
64     GLSLstd450SMax = 42,
65     GLSLstd450FClamp = 43,
66     GLSLstd450UClamp = 44,
67     GLSLstd450SClamp = 45,
68     GLSLstd450FMix = 46,
69     GLSLstd450IMix = 47,            // Reserved
70     GLSLstd450Step = 48,
71     GLSLstd450SmoothStep = 49,
72 
73     GLSLstd450Fma = 50,
74     GLSLstd450Frexp = 51,            // second operand needs an OpVariable to write to
75     GLSLstd450FrexpStruct = 52,      // no OpVariable operand
76     GLSLstd450Ldexp = 53,
77 
78     GLSLstd450PackSnorm4x8 = 54,
79     GLSLstd450PackUnorm4x8 = 55,
80     GLSLstd450PackSnorm2x16 = 56,
81     GLSLstd450PackUnorm2x16 = 57,
82     GLSLstd450PackHalf2x16 = 58,
83     GLSLstd450PackDouble2x32 = 59,
84     GLSLstd450UnpackSnorm2x16 = 60,
85     GLSLstd450UnpackUnorm2x16 = 61,
86     GLSLstd450UnpackHalf2x16 = 62,
87     GLSLstd450UnpackSnorm4x8 = 63,
88     GLSLstd450UnpackUnorm4x8 = 64,
89     GLSLstd450UnpackDouble2x32 = 65,
90 
91     GLSLstd450Length = 66,
92     GLSLstd450Distance = 67,
93     GLSLstd450Cross = 68,
94     GLSLstd450Normalize = 69,
95     GLSLstd450FaceForward = 70,
96     GLSLstd450Reflect = 71,
97     GLSLstd450Refract = 72,
98 
99     GLSLstd450FindILsb = 73,
100     GLSLstd450FindSMsb = 74,
101     GLSLstd450FindUMsb = 75,
102 
103     GLSLstd450InterpolateAtCentroid = 76,
104     GLSLstd450InterpolateAtSample = 77,
105     GLSLstd450InterpolateAtOffset = 78,
106 
107     GLSLstd450NMin = 79,
108     GLSLstd450NMax = 80,
109     GLSLstd450NClamp = 81,
110 
111     GLSLstd450Count
112 };
113 
114 #endif  // #ifndef GLSLstd450_H
115