Lines Matching defs:func
401 enum pipe_blend_func func, enum pipe_blendfactor src,
416 (func == PIPE_BLEND_MAX || func == PIPE_BLEND_MIN))
422 * func(src * DST, dst * 0) ---> func(src * 0, dst * SRC)
424 static void si_blend_remove_dst(unsigned *func, unsigned *src_factor, unsigned *dst_factor,
432 if (*func == PIPE_BLEND_SUBTRACT)
433 *func = PIPE_BLEND_REVERSE_SUBTRACT;
434 else if (*func == PIPE_BLEND_REVERSE_SUBTRACT)
435 *func = PIPE_BLEND_SUBTRACT;
554 * func(src * DST, dst * 0) ---> func(src * 0, dst * SRC)
915 static uint32_t si_translate_fill(uint32_t func)
917 switch (func) {
1311 (state->func == PIPE_FUNC_ALWAYS && si_order_invariant_stencil_op(state->zpass_op) &&
1313 (state->func == PIPE_FUNC_NEVER && si_order_invariant_stencil_op(state->fail_op));
1340 db_depth_control |= S_028800_STENCILFUNC(state->stencil[0].func);
1350 db_depth_control |= S_028800_STENCILFUNC_BF(state->stencil[1].func);