| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 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 |
|
| 34 |
static const char* const E_SPV_AMD_shader_ballot = "SPV_AMD_shader_ballot"; |
| 35 |
|
| 36 |
enum ShaderBallotAMD { |
| 37 |
ShaderBallotBadAMD = 0, |
| 38 |
|
| 39 |
SwizzleInvocationsAMD = 1, |
| 40 |
SwizzleInvocationsMaskedAMD = 2, |
| 41 |
WriteInvocationAMD = 3, |
| 42 |
MbcntAMD = 4, |
| 43 |
|
| 44 |
ShaderBallotCountAMD |
| 45 |
}; |
| 46 |
|
| 47 |
|
| 48 |
static const char* const E_SPV_AMD_shader_trinary_minmax = "SPV_AMD_shader_trinary_minmax"; |
| 49 |
|
| 50 |
enum ShaderTrinaryMinMaxAMD { |
| 51 |
ShaderTrinaryMinMaxBadAMD = 0, |
| 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 |
|
| 67 |
static const char* const E_SPV_AMD_shader_explicit_vertex_parameter = "SPV_AMD_shader_explicit_vertex_parameter"; |
| 68 |
|
| 69 |
enum ShaderExplicitVertexParameterAMD { |
| 70 |
ShaderExplicitVertexParameterBadAMD = 0, |
| 71 |
|
| 72 |
InterpolateAtVertexAMD = 1, |
| 73 |
|
| 74 |
ShaderExplicitVertexParameterCountAMD |
| 75 |
}; |
| 76 |
|
| 77 |
|
| 78 |
static const char* const E_SPV_AMD_gcn_shader = "SPV_AMD_gcn_shader"; |
| 79 |
|
| 80 |
enum GcnShaderAMD { |
| 81 |
GcnShaderBadAMD = 0, |
| 82 |
|
| 83 |
CubeFaceIndexAMD = 1, |
| 84 |
CubeFaceCoordAMD = 2, |
| 85 |
TimeAMD = 3, |
| 86 |
|
| 87 |
GcnShaderCountAMD |
| 88 |
}; |
| 89 |
|
| 90 |
|
| 91 |
static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_half_float"; |
| 92 |
|
| 93 |
|
| 94 |
static const char* const E_SPV_AMD_texture_gather_bias_lod = "SPV_AMD_texture_gather_bias_lod"; |
| 95 |
|
| 96 |
|
| 97 |
static const char* const E_SPV_AMD_gpu_shader_int16 = "SPV_AMD_gpu_shader_int16"; |
| 98 |
|
| 99 |
|
| 100 |
static const char* const E_SPV_AMD_shader_image_load_store_lod = "SPV_AMD_shader_image_load_store_lod"; |
| 101 |
|
| 102 |
|
| 103 |
static const char* const E_SPV_AMD_shader_fragment_mask = "SPV_AMD_shader_fragment_mask"; |
| 104 |
|
| 105 |
|
| 106 |
static const char* const E_SPV_AMD_gpu_shader_half_float_fetch = "SPV_AMD_gpu_shader_half_float_fetch"; |
| 107 |
|
| 108 |
#endif |