Searched refs:rt_state (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_blend.c435 get_equation_str(const struct pan_blend_rt_state *rt_state, argument
448 if (!rt_state->equation.blend_enable) {
454 if (rt_state->equation.color_mask & 7) {
455 assert(rt_state->equation.rgb_func < ARRAY_SIZE(funcs));
456 assert(rt_state->equation.rgb_src_factor < ARRAY_SIZE(factors));
457 assert(rt_state->equation.rgb_dst_factor < ARRAY_SIZE(factors));
459 (rt_state->equation.color_mask & 1) ? "R" : "",
460 (rt_state->equation.color_mask & 2) ? "G" : "",
461 (rt_state->equation.color_mask & 4) ? "B" : "",
462 funcs[rt_state
521 const struct pan_blend_rt_state *rt_state = &state->rts[rt]; local in function:GENX
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_shader.c329 struct pan_blend_rt_state *rt_state = &blend_state->rts[rt]; local in function:panvk_lower_blend
334 enum pipe_format fmt = rt_state->format;
337 options.rt[rt].colormask = rt_state->equation.color_mask;
339 if (!rt_state->equation.blend_enable) {
351 options.rt[rt].rgb.func = rt_state->equation.rgb_func;
352 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor;
353 options.rt[rt].rgb.invert_src_factor = rt_state->equation.rgb_invert_src_factor;
354 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor;
355 options.rt[rt].rgb.invert_dst_factor = rt_state->equation.rgb_invert_dst_factor;
356 options.rt[rt].alpha.func = rt_state
[all...]

Completed in 3 milliseconds