Lines Matching refs:blend_state
427 struct pipe_blend_state *blend_state; in vrend_decode_create_blend() local
435 blend_state = CALLOC_STRUCT(pipe_blend_state); in vrend_decode_create_blend()
436 if (!blend_state) in vrend_decode_create_blend()
440 blend_state->independent_blend_enable = (tmp & 1); in vrend_decode_create_blend()
441 blend_state->logicop_enable = (tmp >> 1) & 0x1; in vrend_decode_create_blend()
442 blend_state->dither = (tmp >> 2) & 0x1; in vrend_decode_create_blend()
443 blend_state->alpha_to_coverage = (tmp >> 3) & 0x1; in vrend_decode_create_blend()
444 blend_state->alpha_to_one = (tmp >> 4) & 0x1; in vrend_decode_create_blend()
447 blend_state->logicop_func = tmp & 0xf; in vrend_decode_create_blend()
451 blend_state->rt[i].blend_enable = tmp & 0x1; in vrend_decode_create_blend()
452 blend_state->rt[i].rgb_func = (tmp >> 1) & 0x7; in vrend_decode_create_blend()
453 blend_state->rt[i].rgb_src_factor = (tmp >> 4) & 0x1f; in vrend_decode_create_blend()
454 blend_state->rt[i].rgb_dst_factor = (tmp >> 9) & 0x1f; in vrend_decode_create_blend()
455 blend_state->rt[i].alpha_func = (tmp >> 14) & 0x7; in vrend_decode_create_blend()
456 blend_state->rt[i].alpha_src_factor = (tmp >> 17) & 0x1f; in vrend_decode_create_blend()
457 blend_state->rt[i].alpha_dst_factor = (tmp >> 22) & 0x1f; in vrend_decode_create_blend()
458 blend_state->rt[i].colormask = (tmp >> 27) & 0xf; in vrend_decode_create_blend()
461 …tmp = vrend_renderer_object_insert(ctx->grctx, blend_state, sizeof(struct pipe_blend_state), handl… in vrend_decode_create_blend()
464 FREE(blend_state); in vrend_decode_create_blend()