mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-04 12:45:03 +01:00 
			
		
		
		
	renderer_vulkan: skip SetObjectNameEXT on unsupported driver
This commit is contained in:
		
							parent
							
								
									91290b9be4
								
							
						
					
					
						commit
						6a1ddc5028
					
				@ -246,7 +246,9 @@ void SetObjectName(const DeviceDispatch* dld, VkDevice device, T handle, VkObjec
 | 
			
		||||
        .objectHandle = reinterpret_cast<u64>(handle),
 | 
			
		||||
        .pObjectName = name,
 | 
			
		||||
    };
 | 
			
		||||
    Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
 | 
			
		||||
    if (dld->vkSetDebugUtilsObjectNameEXT) {
 | 
			
		||||
        Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // Anonymous namespace
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user