101e04c3fSmrg/*
201e04c3fSmrg** Copyright (c) 2014-2016 The Khronos Group Inc.
301e04c3fSmrg**
401e04c3fSmrg** Permission is hereby granted, free of charge, to any person obtaining a copy
501e04c3fSmrg** of this software and/or associated documentation files (the "Materials"),
601e04c3fSmrg** to deal in the Materials without restriction, including without limitation
701e04c3fSmrg** the rights to use, copy, modify, merge, publish, distribute, sublicense,
801e04c3fSmrg** and/or sell copies of the Materials, and to permit persons to whom the
901e04c3fSmrg** Materials are furnished to do so, subject to the following conditions:
1001e04c3fSmrg**
1101e04c3fSmrg** The above copyright notice and this permission notice shall be included in
1201e04c3fSmrg** all copies or substantial portions of the Materials.
1301e04c3fSmrg**
1401e04c3fSmrg** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
1501e04c3fSmrg** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
1601e04c3fSmrg** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
1701e04c3fSmrg**
1801e04c3fSmrg** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1901e04c3fSmrg** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2001e04c3fSmrg** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
2101e04c3fSmrg** THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2201e04c3fSmrg** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2301e04c3fSmrg** FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
2401e04c3fSmrg** IN THE MATERIALS.
2501e04c3fSmrg*/
2601e04c3fSmrg
2701e04c3fSmrg#ifndef GLSLstd450_H
2801e04c3fSmrg#define GLSLstd450_H
2901e04c3fSmrg
3001e04c3fSmrgstatic const int GLSLstd450Version = 100;
3101e04c3fSmrgstatic const int GLSLstd450Revision = 3;
3201e04c3fSmrg
3301e04c3fSmrgenum GLSLstd450 {
3401e04c3fSmrg    GLSLstd450Bad = 0,              // Don't use
3501e04c3fSmrg
3601e04c3fSmrg    GLSLstd450Round = 1,
3701e04c3fSmrg    GLSLstd450RoundEven = 2,
3801e04c3fSmrg    GLSLstd450Trunc = 3,
3901e04c3fSmrg    GLSLstd450FAbs = 4,
4001e04c3fSmrg    GLSLstd450SAbs = 5,
4101e04c3fSmrg    GLSLstd450FSign = 6,
4201e04c3fSmrg    GLSLstd450SSign = 7,
4301e04c3fSmrg    GLSLstd450Floor = 8,
4401e04c3fSmrg    GLSLstd450Ceil = 9,
4501e04c3fSmrg    GLSLstd450Fract = 10,
4601e04c3fSmrg
4701e04c3fSmrg    GLSLstd450Radians = 11,
4801e04c3fSmrg    GLSLstd450Degrees = 12,
4901e04c3fSmrg    GLSLstd450Sin = 13,
5001e04c3fSmrg    GLSLstd450Cos = 14,
5101e04c3fSmrg    GLSLstd450Tan = 15,
5201e04c3fSmrg    GLSLstd450Asin = 16,
5301e04c3fSmrg    GLSLstd450Acos = 17,
5401e04c3fSmrg    GLSLstd450Atan = 18,
5501e04c3fSmrg    GLSLstd450Sinh = 19,
5601e04c3fSmrg    GLSLstd450Cosh = 20,
5701e04c3fSmrg    GLSLstd450Tanh = 21,
5801e04c3fSmrg    GLSLstd450Asinh = 22,
5901e04c3fSmrg    GLSLstd450Acosh = 23,
6001e04c3fSmrg    GLSLstd450Atanh = 24,
6101e04c3fSmrg    GLSLstd450Atan2 = 25,
6201e04c3fSmrg
6301e04c3fSmrg    GLSLstd450Pow = 26,
6401e04c3fSmrg    GLSLstd450Exp = 27,
6501e04c3fSmrg    GLSLstd450Log = 28,
6601e04c3fSmrg    GLSLstd450Exp2 = 29,
6701e04c3fSmrg    GLSLstd450Log2 = 30,
6801e04c3fSmrg    GLSLstd450Sqrt = 31,
6901e04c3fSmrg    GLSLstd450InverseSqrt = 32,
7001e04c3fSmrg
7101e04c3fSmrg    GLSLstd450Determinant = 33,
7201e04c3fSmrg    GLSLstd450MatrixInverse = 34,
7301e04c3fSmrg
7401e04c3fSmrg    GLSLstd450Modf = 35,            // second operand needs an OpVariable to write to
7501e04c3fSmrg    GLSLstd450ModfStruct = 36,      // no OpVariable operand
7601e04c3fSmrg    GLSLstd450FMin = 37,
7701e04c3fSmrg    GLSLstd450UMin = 38,
7801e04c3fSmrg    GLSLstd450SMin = 39,
7901e04c3fSmrg    GLSLstd450FMax = 40,
8001e04c3fSmrg    GLSLstd450UMax = 41,
8101e04c3fSmrg    GLSLstd450SMax = 42,
8201e04c3fSmrg    GLSLstd450FClamp = 43,
8301e04c3fSmrg    GLSLstd450UClamp = 44,
8401e04c3fSmrg    GLSLstd450SClamp = 45,
8501e04c3fSmrg    GLSLstd450FMix = 46,
8601e04c3fSmrg    GLSLstd450IMix = 47,            // Reserved
8701e04c3fSmrg    GLSLstd450Step = 48,
8801e04c3fSmrg    GLSLstd450SmoothStep = 49,
8901e04c3fSmrg
9001e04c3fSmrg    GLSLstd450Fma = 50,
9101e04c3fSmrg    GLSLstd450Frexp = 51,            // second operand needs an OpVariable to write to
9201e04c3fSmrg    GLSLstd450FrexpStruct = 52,      // no OpVariable operand
9301e04c3fSmrg    GLSLstd450Ldexp = 53,
9401e04c3fSmrg
9501e04c3fSmrg    GLSLstd450PackSnorm4x8 = 54,
9601e04c3fSmrg    GLSLstd450PackUnorm4x8 = 55,
9701e04c3fSmrg    GLSLstd450PackSnorm2x16 = 56,
9801e04c3fSmrg    GLSLstd450PackUnorm2x16 = 57,
9901e04c3fSmrg    GLSLstd450PackHalf2x16 = 58,
10001e04c3fSmrg    GLSLstd450PackDouble2x32 = 59,
10101e04c3fSmrg    GLSLstd450UnpackSnorm2x16 = 60,
10201e04c3fSmrg    GLSLstd450UnpackUnorm2x16 = 61,
10301e04c3fSmrg    GLSLstd450UnpackHalf2x16 = 62,
10401e04c3fSmrg    GLSLstd450UnpackSnorm4x8 = 63,
10501e04c3fSmrg    GLSLstd450UnpackUnorm4x8 = 64,
10601e04c3fSmrg    GLSLstd450UnpackDouble2x32 = 65,
10701e04c3fSmrg
10801e04c3fSmrg    GLSLstd450Length = 66,
10901e04c3fSmrg    GLSLstd450Distance = 67,
11001e04c3fSmrg    GLSLstd450Cross = 68,
11101e04c3fSmrg    GLSLstd450Normalize = 69,
11201e04c3fSmrg    GLSLstd450FaceForward = 70,
11301e04c3fSmrg    GLSLstd450Reflect = 71,
11401e04c3fSmrg    GLSLstd450Refract = 72,
11501e04c3fSmrg
11601e04c3fSmrg    GLSLstd450FindILsb = 73,
11701e04c3fSmrg    GLSLstd450FindSMsb = 74,
11801e04c3fSmrg    GLSLstd450FindUMsb = 75,
11901e04c3fSmrg
12001e04c3fSmrg    GLSLstd450InterpolateAtCentroid = 76,
12101e04c3fSmrg    GLSLstd450InterpolateAtSample = 77,
12201e04c3fSmrg    GLSLstd450InterpolateAtOffset = 78,
12301e04c3fSmrg
12401e04c3fSmrg    GLSLstd450NMin = 79,
12501e04c3fSmrg    GLSLstd450NMax = 80,
12601e04c3fSmrg    GLSLstd450NClamp = 81,
12701e04c3fSmrg
12801e04c3fSmrg    GLSLstd450Count
12901e04c3fSmrg};
13001e04c3fSmrg
13101e04c3fSmrg#endif  // #ifndef GLSLstd450_H
132