RetroArch
GLSL.ext.AMD.h
Go to the documentation of this file.
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 
30 static const int GLSLextAMDVersion = 100;
31 static const int GLSLextAMDRevision = 7;
32 
33 // SPV_AMD_shader_ballot
34 static const char* const E_SPV_AMD_shader_ballot = "SPV_AMD_shader_ballot";
35 
37  ShaderBallotBadAMD = 0, // Don't use
38 
42  MbcntAMD = 4,
43 
45 };
46 
47 // SPV_AMD_shader_trinary_minmax
48 static const char* const E_SPV_AMD_shader_trinary_minmax = "SPV_AMD_shader_trinary_minmax";
49 
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 
64 };
65 
66 // SPV_AMD_shader_explicit_vertex_parameter
67 static const char* const E_SPV_AMD_shader_explicit_vertex_parameter = "SPV_AMD_shader_explicit_vertex_parameter";
68 
71 
73 
75 };
76 
77 // SPV_AMD_gcn_shader
78 static const char* const E_SPV_AMD_gcn_shader = "SPV_AMD_gcn_shader";
79 
81  GcnShaderBadAMD = 0, // Don't use
82 
85  TimeAMD = 3,
86 
88 };
89 
90 // SPV_AMD_gpu_shader_half_float
91 static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_half_float";
92 
93 // SPV_AMD_texture_gather_bias_lod
94 static const char* const E_SPV_AMD_texture_gather_bias_lod = "SPV_AMD_texture_gather_bias_lod";
95 
96 // SPV_AMD_gpu_shader_int16
97 static const char* const E_SPV_AMD_gpu_shader_int16 = "SPV_AMD_gpu_shader_int16";
98 
99 // SPV_AMD_shader_image_load_store_lod
100 static 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
103 static const char* const E_SPV_AMD_shader_fragment_mask = "SPV_AMD_shader_fragment_mask";
104 
105 // SPV_AMD_gpu_shader_half_float_fetch
106 static const char* const E_SPV_AMD_gpu_shader_half_float_fetch = "SPV_AMD_gpu_shader_half_float_fetch";
107 
108 #endif // #ifndef GLSLextAMD_H
Definition: GLSL.ext.AMD.h:40
ShaderTrinaryMinMaxAMD
Definition: GLSL.ext.AMD.h:50
Definition: GLSL.ext.AMD.h:56
Definition: GLSL.ext.AMD.h:84
Definition: GLSL.ext.AMD.h:61
Definition: GLSL.ext.AMD.h:83
static const char *const E_SPV_AMD_shader_trinary_minmax
Definition: GLSL.ext.AMD.h:48
Definition: GLSL.ext.AMD.h:81
ShaderBallotAMD
Definition: GLSL.ext.AMD.h:36
static const char *const E_SPV_AMD_shader_image_load_store_lod
Definition: GLSL.ext.AMD.h:100
static const char *const E_SPV_AMD_shader_explicit_vertex_parameter
Definition: GLSL.ext.AMD.h:67
ShaderExplicitVertexParameterAMD
Definition: GLSL.ext.AMD.h:69
static const char *const E_SPV_AMD_texture_gather_bias_lod
Definition: GLSL.ext.AMD.h:94
static const int GLSLextAMDVersion
Definition: GLSL.ext.AMD.h:30
static const char *const E_SPV_AMD_gpu_shader_half_float_fetch
Definition: GLSL.ext.AMD.h:106
Definition: GLSL.ext.AMD.h:74
Definition: GLSL.ext.AMD.h:53
Definition: GLSL.ext.AMD.h:59
Definition: GLSL.ext.AMD.h:72
Definition: GLSL.ext.AMD.h:70
Definition: GLSL.ext.AMD.h:85
static const char *const E_SPV_AMD_gpu_shader_half_float
Definition: GLSL.ext.AMD.h:91
Definition: GLSL.ext.AMD.h:39
Definition: GLSL.ext.AMD.h:55
static const char *const E_SPV_AMD_shader_ballot
Definition: GLSL.ext.AMD.h:34
Definition: GLSL.ext.AMD.h:51
Definition: GLSL.ext.AMD.h:37
Definition: GLSL.ext.AMD.h:60
Definition: GLSL.ext.AMD.h:44
Definition: GLSL.ext.AMD.h:63
static const int GLSLextAMDRevision
Definition: GLSL.ext.AMD.h:31
static const char *const E_SPV_AMD_shader_fragment_mask
Definition: GLSL.ext.AMD.h:103
static const char *const E_SPV_AMD_gcn_shader
Definition: GLSL.ext.AMD.h:78
static const char *const E_SPV_AMD_gpu_shader_int16
Definition: GLSL.ext.AMD.h:97
Definition: GLSL.ext.AMD.h:87
Definition: GLSL.ext.AMD.h:58
GcnShaderAMD
Definition: GLSL.ext.AMD.h:80
Definition: GLSL.ext.AMD.h:42
Definition: GLSL.ext.AMD.h:54
Definition: GLSL.ext.AMD.h:41
Definition: GLSL.ext.AMD.h:57