yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e58d58b7
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 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 { 37ShaderBallotBadAMD = 0 ,// Don't use 38 39SwizzleInvocationsAMD = 1 , 40SwizzleInvocationsMaskedAMD = 2 , 41WriteInvocationAMD = 3 , 42MbcntAMD = 4 , 43 44ShaderBallotCountAMD 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 { 51ShaderTrinaryMinMaxBadAMD = 0 ,// Don't use 52 53FMin3AMD = 1 , 54UMin3AMD = 2 , 55SMin3AMD = 3 , 56FMax3AMD = 4 , 57UMax3AMD = 5 , 58SMax3AMD = 6 , 59FMid3AMD = 7 , 60UMid3AMD = 8 , 61SMid3AMD = 9 , 62 63ShaderTrinaryMinMaxCountAMD 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 { 70ShaderExplicitVertexParameterBadAMD = 0 ,// Don't use 71 72InterpolateAtVertexAMD = 1 , 73 74ShaderExplicitVertexParameterCountAMD 75}; 76 77// SPV_AMD_gcn_shader 78static const char * const E_SPV_AMD_gcn_shader = "SPV_AMD_gcn_shader" ; 79 80enum GcnShaderAMD { 81GcnShaderBadAMD = 0 ,// Don't use 82 83CubeFaceIndexAMD = 1 , 84CubeFaceCoordAMD = 2 , 85TimeAMD = 3 , 86 87GcnShaderCountAMD 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