SPV: Fix an typo of SPV_AMD_texture_gather_bias_lod
This commit is contained in:
		
							parent
							
								
									82ae8c31e0
								
							
						
					
					
						commit
						301a2bc8a7
					
				| @ -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
 | // 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 OpCapabilityImageGatherBiasLodAMD = static_cast<Capability>(5009); | 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"; | ||||||
|  | |||||||
| @ -3294,7 +3294,7 @@ spv::Id TGlslangToSpvTraverser::createImageTextureFunctionCall(glslang::TIntermO | |||||||
|         if (bias || cracked.lod || |         if (bias || cracked.lod || | ||||||
|             sourceExtensions.find(glslang::E_GL_AMD_texture_gather_bias_lod) != sourceExtensions.end()) { |             sourceExtensions.find(glslang::E_GL_AMD_texture_gather_bias_lod) != sourceExtensions.end()) { | ||||||
|             builder.addExtension(spv::E_SPV_AMD_texture_gather_bias_lod); |             builder.addExtension(spv::E_SPV_AMD_texture_gather_bias_lod); | ||||||
|             builder.addCapability(spv::OpCapabilityImageGatherBiasLodAMD); |             builder.addCapability(spv::CapabilityImageGatherBiasLodAMD); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| #endif | #endif | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Rex Xu
						Rex Xu