Merge pull request #937 from amdrexu/bugfix
SPV: Fix an typo of SPV_AMD_texture_gather_bias_lod
This commit is contained in:
commit
f7cd88a2b5
@ -117,7 +117,7 @@ static const char* const E_SPV_AMD_gpu_shader_half_float = "SPV_AMD_gpu_shader_h
|
||||
// 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 OpCapabilityImageGatherBiasLodAMD = static_cast<Capability>(5009);
|
||||
static const Capability CapabilityImageGatherBiasLodAMD = static_cast<Capability>(5009);
|
||||
|
||||
// SPV_AMD_gpu_shader_int16
|
||||
static const char* const E_SPV_AMD_gpu_shader_int16 = "SPV_AMD_gpu_shader_int16";
|
||||
|
@ -3294,7 +3294,7 @@ spv::Id TGlslangToSpvTraverser::createImageTextureFunctionCall(glslang::TIntermO
|
||||
if (bias || cracked.lod ||
|
||||
sourceExtensions.find(glslang::E_GL_AMD_texture_gather_bias_lod) != sourceExtensions.end()) {
|
||||
builder.addExtension(spv::E_SPV_AMD_texture_gather_bias_lod);
|
||||
builder.addCapability(spv::OpCapabilityImageGatherBiasLodAMD);
|
||||
builder.addCapability(spv::CapabilityImageGatherBiasLodAMD);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user