SPV: Fix an typo of SPV_AMD_texture_gather_bias_lod
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp
index 9a29b2e..92dab96 100755
--- a/SPIRV/GlslangToSpv.cpp
+++ b/SPIRV/GlslangToSpv.cpp
@@ -3294,7 +3294,7 @@
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