pub fn convert_blend_factor(factor: &GPUBlendFactor) -> BlendFactor