Searched refs:is_factor_01 (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 314 is_factor_01(unsigned factor, bool invert, unsigned val, unsigned srca) in is_factor_01() function 348 if (!is_factor_01(eq.alpha_dst_factor, eq.alpha_invert_dst_factor, 1, 0)) in pan_blend_alpha_zero_nop() 353 if (!is_factor_01(eq.rgb_dst_factor, eq.rgb_invert_dst_factor, 1, 0)) in pan_blend_alpha_zero_nop() 356 if (!is_factor_01(eq.rgb_src_factor, eq.rgb_invert_src_factor, 0, 0)) in pan_blend_alpha_zero_nop() 388 return is_factor_01(eq.rgb_src_factor, eq.rgb_invert_src_factor, 1, 1) && in pan_blend_alpha_one_store() 389 is_factor_01(eq.alpha_src_factor, eq.alpha_invert_src_factor, 1, 1) && in pan_blend_alpha_one_store() 390 is_factor_01(eq.rgb_dst_factor, eq.rgb_invert_dst_factor, 0, 1) && in pan_blend_alpha_one_store() 391 is_factor_01(eq.alpha_dst_factor, eq.alpha_invert_dst_factor, 0, 1); in pan_blend_alpha_one_store()
|