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