• Home
  • Raw
  • Download

Lines Matching refs:function

124 static void to_c_factor(unsigned factor, struct MALI_BLEND_FUNCTION *function)  in to_c_factor()  argument
127 function->invert_c = true; in to_c_factor()
132 function->invert_c = factor == PIPE_BLENDFACTOR_ONE; in to_c_factor()
133 function->c = MALI_BLEND_OPERAND_C_ZERO; in to_c_factor()
137 function->c = MALI_BLEND_OPERAND_C_SRC_ALPHA; in to_c_factor()
141 function->c = MALI_BLEND_OPERAND_C_DEST_ALPHA; in to_c_factor()
145 function->c = MALI_BLEND_OPERAND_C_SRC; in to_c_factor()
149 function->c = MALI_BLEND_OPERAND_C_DEST; in to_c_factor()
154 function->c = MALI_BLEND_OPERAND_C_CONSTANT; in to_c_factor()
166 struct MALI_BLEND_FUNCTION *function) in to_panfrost_function() argument
172 function->a = MALI_BLEND_OPERAND_A_ZERO; in to_panfrost_function()
173 function->b = MALI_BLEND_OPERAND_B_DEST; in to_panfrost_function()
175 function->negate_b = true; in to_panfrost_function()
176 to_c_factor(dest_factor, function); in to_panfrost_function()
178 function->a = MALI_BLEND_OPERAND_A_SRC; in to_panfrost_function()
179 function->b = MALI_BLEND_OPERAND_B_DEST; in to_panfrost_function()
181 function->negate_b = true; in to_panfrost_function()
183 function->negate_a = true; in to_panfrost_function()
184 to_c_factor(dest_factor, function); in to_panfrost_function()
186 function->a = MALI_BLEND_OPERAND_A_ZERO; in to_panfrost_function()
187 function->b = MALI_BLEND_OPERAND_B_SRC; in to_panfrost_function()
189 function->negate_b = true; in to_panfrost_function()
190 to_c_factor(src_factor, function); in to_panfrost_function()
192 function->a = MALI_BLEND_OPERAND_A_DEST; in to_panfrost_function()
193 function->b = MALI_BLEND_OPERAND_B_SRC; in to_panfrost_function()
195 function->negate_a = true; in to_panfrost_function()
197 function->negate_b = true; in to_panfrost_function()
198 to_c_factor(src_factor, function); in to_panfrost_function()
200 function->a = MALI_BLEND_OPERAND_A_ZERO; in to_panfrost_function()
201 to_c_factor(src_factor, function); in to_panfrost_function()
205 function->b = MALI_BLEND_OPERAND_B_SRC_PLUS_DEST; in to_panfrost_function()
208 function->negate_b = true; in to_panfrost_function()
211 function->b = MALI_BLEND_OPERAND_B_SRC_MINUS_DEST; in to_panfrost_function()
220 function->a = MALI_BLEND_OPERAND_A_DEST; in to_panfrost_function()
221 to_c_factor(src_factor, function); in to_panfrost_function()
225 function->b = MALI_BLEND_OPERAND_B_SRC_MINUS_DEST; in to_panfrost_function()
228 function->b = MALI_BLEND_OPERAND_B_SRC_PLUS_DEST; in to_panfrost_function()
229 function->negate_b = true; in to_panfrost_function()
232 function->b = MALI_BLEND_OPERAND_B_SRC_PLUS_DEST; in to_panfrost_function()
233 function->negate_a = true; in to_panfrost_function()