SPV: Update to latest 1.0 headers, removing redundancies in GLSL.ext.AMD.h.
This commit is contained in:
parent
cd52fd5a42
commit
d2d3a14237
@ -38,15 +38,6 @@ static const int GLSLextAMDRevision = 4;
|
|||||||
// SPV_AMD_shader_ballot
|
// SPV_AMD_shader_ballot
|
||||||
static const char* const E_SPV_AMD_shader_ballot = "SPV_AMD_shader_ballot";
|
static const char* const E_SPV_AMD_shader_ballot = "SPV_AMD_shader_ballot";
|
||||||
|
|
||||||
static const Op OpGroupIAddNonUniformAMD = static_cast<Op>(5000);
|
|
||||||
static const Op OpGroupFAddNonUniformAMD = static_cast<Op>(5001);
|
|
||||||
static const Op OpGroupFMinNonUniformAMD = static_cast<Op>(5002);
|
|
||||||
static const Op OpGroupUMinNonUniformAMD = static_cast<Op>(5003);
|
|
||||||
static const Op OpGroupSMinNonUniformAMD = static_cast<Op>(5004);
|
|
||||||
static const Op OpGroupFMaxNonUniformAMD = static_cast<Op>(5005);
|
|
||||||
static const Op OpGroupUMaxNonUniformAMD = static_cast<Op>(5006);
|
|
||||||
static const Op OpGroupSMaxNonUniformAMD = static_cast<Op>(5007);
|
|
||||||
|
|
||||||
enum ShaderBallotAMD {
|
enum ShaderBallotAMD {
|
||||||
ShaderBallotBadAMD = 0, // Don't use
|
ShaderBallotBadAMD = 0, // Don't use
|
||||||
|
|
||||||
@ -80,16 +71,6 @@ enum ShaderTrinaryMinMaxAMD {
|
|||||||
// SPV_AMD_shader_explicit_vertex_parameter
|
// SPV_AMD_shader_explicit_vertex_parameter
|
||||||
static const char* const E_SPV_AMD_shader_explicit_vertex_parameter = "SPV_AMD_shader_explicit_vertex_parameter";
|
static const char* const E_SPV_AMD_shader_explicit_vertex_parameter = "SPV_AMD_shader_explicit_vertex_parameter";
|
||||||
|
|
||||||
static const BuiltIn BuiltInBaryCoordNoPerspAMD = static_cast<BuiltIn>(4992);
|
|
||||||
static const BuiltIn BuiltInBaryCoordNoPerspCentroidAMD = static_cast<BuiltIn>(4993);
|
|
||||||
static const BuiltIn BuiltInBaryCoordNoPerspSampleAMD = static_cast<BuiltIn>(4994);
|
|
||||||
static const BuiltIn BuiltInBaryCoordSmoothAMD = static_cast<BuiltIn>(4995);
|
|
||||||
static const BuiltIn BuiltInBaryCoordSmoothCentroidAMD = static_cast<BuiltIn>(4996);
|
|
||||||
static const BuiltIn BuiltInBaryCoordSmoothSampleAMD = static_cast<BuiltIn>(4997);
|
|
||||||
static const BuiltIn BuiltInBaryCoordPullModelAMD = static_cast<BuiltIn>(4998);
|
|
||||||
|
|
||||||
static const Decoration DecorationExplicitInterpAMD = static_cast<Decoration>(4999);
|
|
||||||
|
|
||||||
enum ShaderExplicitVertexParameterAMD {
|
enum ShaderExplicitVertexParameterAMD {
|
||||||
ShaderExplicitVertexParameterBadAMD = 0, // Don't use
|
ShaderExplicitVertexParameterBadAMD = 0, // Don't use
|
||||||
|
|
||||||
@ -117,8 +98,6 @@ static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_h
|
|||||||
// SPV_AMD_texture_gather_bias_lod
|
// SPV_AMD_texture_gather_bias_lod
|
||||||
static const char* const E_SPV_AMD_texture_gather_bias_lod = "SPV_AMD_texture_gather_bias_lod";
|
static const char* const E_SPV_AMD_texture_gather_bias_lod = "SPV_AMD_texture_gather_bias_lod";
|
||||||
|
|
||||||
static const Capability CapabilityImageGatherBiasLodAMD = static_cast<Capability>(5009);
|
|
||||||
|
|
||||||
// SPV_AMD_gpu_shader_int16
|
// SPV_AMD_gpu_shader_int16
|
||||||
static const char* const E_SPV_AMD_gpu_shader_int16 = "SPV_AMD_gpu_shader_int16";
|
static const char* const E_SPV_AMD_gpu_shader_int16 = "SPV_AMD_gpu_shader_int16";
|
||||||
|
|
||||||
|
|||||||
@ -377,6 +377,7 @@ enum Decoration {
|
|||||||
DecorationNoContraction = 42,
|
DecorationNoContraction = 42,
|
||||||
DecorationInputAttachmentIndex = 43,
|
DecorationInputAttachmentIndex = 43,
|
||||||
DecorationAlignment = 44,
|
DecorationAlignment = 44,
|
||||||
|
DecorationExplicitInterpAMD = 4999,
|
||||||
DecorationOverrideCoverageNV = 5248,
|
DecorationOverrideCoverageNV = 5248,
|
||||||
DecorationPassthroughNV = 5250,
|
DecorationPassthroughNV = 5250,
|
||||||
DecorationViewportRelativeNV = 5252,
|
DecorationViewportRelativeNV = 5252,
|
||||||
@ -436,6 +437,13 @@ enum BuiltIn {
|
|||||||
BuiltInDrawIndex = 4426,
|
BuiltInDrawIndex = 4426,
|
||||||
BuiltInDeviceIndex = 4438,
|
BuiltInDeviceIndex = 4438,
|
||||||
BuiltInViewIndex = 4440,
|
BuiltInViewIndex = 4440,
|
||||||
|
BuiltInBaryCoordNoPerspAMD = 4992,
|
||||||
|
BuiltInBaryCoordNoPerspCentroidAMD = 4993,
|
||||||
|
BuiltInBaryCoordNoPerspSampleAMD = 4994,
|
||||||
|
BuiltInBaryCoordSmoothAMD = 4995,
|
||||||
|
BuiltInBaryCoordSmoothCentroidAMD = 4996,
|
||||||
|
BuiltInBaryCoordSmoothSampleAMD = 4997,
|
||||||
|
BuiltInBaryCoordPullModelAMD = 4998,
|
||||||
BuiltInViewportMaskNV = 5253,
|
BuiltInViewportMaskNV = 5253,
|
||||||
BuiltInSecondaryPositionNV = 5257,
|
BuiltInSecondaryPositionNV = 5257,
|
||||||
BuiltInSecondaryViewportMaskNV = 5258,
|
BuiltInSecondaryViewportMaskNV = 5258,
|
||||||
@ -629,7 +637,9 @@ enum Capability {
|
|||||||
CapabilityMultiView = 4439,
|
CapabilityMultiView = 4439,
|
||||||
CapabilityVariablePointersStorageBuffer = 4441,
|
CapabilityVariablePointersStorageBuffer = 4441,
|
||||||
CapabilityVariablePointers = 4442,
|
CapabilityVariablePointers = 4442,
|
||||||
|
CapabilityAtomicStorageOps = 4445,
|
||||||
CapabilitySampleMaskPostDepthCoverage = 4447,
|
CapabilitySampleMaskPostDepthCoverage = 4447,
|
||||||
|
CapabilityImageGatherBiasLodAMD = 5009,
|
||||||
CapabilitySampleMaskOverrideCoverageNV = 5249,
|
CapabilitySampleMaskOverrideCoverageNV = 5249,
|
||||||
CapabilityGeometryShaderPassthroughNV = 5251,
|
CapabilityGeometryShaderPassthroughNV = 5251,
|
||||||
CapabilityShaderViewportIndexLayerNV = 5254,
|
CapabilityShaderViewportIndexLayerNV = 5254,
|
||||||
@ -940,6 +950,14 @@ enum Op {
|
|||||||
OpSubgroupAnyKHR = 4429,
|
OpSubgroupAnyKHR = 4429,
|
||||||
OpSubgroupAllEqualKHR = 4430,
|
OpSubgroupAllEqualKHR = 4430,
|
||||||
OpSubgroupReadInvocationKHR = 4432,
|
OpSubgroupReadInvocationKHR = 4432,
|
||||||
|
OpGroupIAddNonUniformAMD = 5000,
|
||||||
|
OpGroupFAddNonUniformAMD = 5001,
|
||||||
|
OpGroupFMinNonUniformAMD = 5002,
|
||||||
|
OpGroupUMinNonUniformAMD = 5003,
|
||||||
|
OpGroupSMinNonUniformAMD = 5004,
|
||||||
|
OpGroupFMaxNonUniformAMD = 5005,
|
||||||
|
OpGroupUMaxNonUniformAMD = 5006,
|
||||||
|
OpGroupSMaxNonUniformAMD = 5007,
|
||||||
OpMax = 0x7fffffff,
|
OpMax = 0x7fffffff,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user