yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e58d58b7
16.6.0
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 GLSLextAMD_H 28#define GLSLextAMD_H 29 30static const int GLSLextAMDVersion = 100; 31static const int GLSLextAMDRevision = 7; 32 33// SPV_AMD_shader_ballot 34static const char* const E_SPV_AMD_shader_ballot = "SPV_AMD_shader_ballot"; 35 36enum ShaderBallotAMD { 37 ShaderBallotBadAMD = 0, // Don't use 38 39 SwizzleInvocationsAMD = 1, 40 SwizzleInvocationsMaskedAMD = 2, 41 WriteInvocationAMD = 3, 42 MbcntAMD = 4, 43 44 ShaderBallotCountAMD 45}; 46 47// SPV_AMD_shader_trinary_minmax 48static const char* const E_SPV_AMD_shader_trinary_minmax = "SPV_AMD_shader_trinary_minmax"; 49 50enum ShaderTrinaryMinMaxAMD { 51 ShaderTrinaryMinMaxBadAMD = 0, // Don't use 52 53 FMin3AMD = 1, 54 UMin3AMD = 2, 55 SMin3AMD = 3, 56 FMax3AMD = 4, 57 UMax3AMD = 5, 58 SMax3AMD = 6, 59 FMid3AMD = 7, 60 UMid3AMD = 8, 61 SMid3AMD = 9, 62 63 ShaderTrinaryMinMaxCountAMD 64}; 65 66// SPV_AMD_shader_explicit_vertex_parameter 67static const char* const E_SPV_AMD_shader_explicit_vertex_parameter = "SPV_AMD_shader_explicit_vertex_parameter"; 68 69enum ShaderExplicitVertexParameterAMD { 70 ShaderExplicitVertexParameterBadAMD = 0, // Don't use 71 72 InterpolateAtVertexAMD = 1, 73 74 ShaderExplicitVertexParameterCountAMD 75}; 76 77// SPV_AMD_gcn_shader 78static const char* const E_SPV_AMD_gcn_shader = "SPV_AMD_gcn_shader"; 79 80enum GcnShaderAMD { 81 GcnShaderBadAMD = 0, // Don't use 82 83 CubeFaceIndexAMD = 1, 84 CubeFaceCoordAMD = 2, 85 TimeAMD = 3, 86 87 GcnShaderCountAMD 88}; 89 90// SPV_AMD_gpu_shader_half_float 91static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_half_float"; 92 93// SPV_AMD_texture_gather_bias_lod 94static const char* const E_SPV_AMD_texture_gather_bias_lod = "SPV_AMD_texture_gather_bias_lod"; 95 96// SPV_AMD_gpu_shader_int16 97static const char* const E_SPV_AMD_gpu_shader_int16 = "SPV_AMD_gpu_shader_int16"; 98 99// SPV_AMD_shader_image_load_store_lod 100static const char* const E_SPV_AMD_shader_image_load_store_lod = "SPV_AMD_shader_image_load_store_lod"; 101 102// SPV_AMD_shader_fragment_mask 103static const char* const E_SPV_AMD_shader_fragment_mask = "SPV_AMD_shader_fragment_mask"; 104 105// SPV_AMD_gpu_shader_half_float_fetch 106static const char* const E_SPV_AMD_gpu_shader_half_float_fetch = "SPV_AMD_gpu_shader_half_float_fetch"; 107 108#endif // #ifndef GLSLextAMD_H