Lines Matching refs:cc_state
733 brw_cc_unit_state_padded cc_state[BRW_BLENDFACTOR_COUNT][BRW_BLENDFACTOR_COUNT];
1074 struct brw_cc_unit_state *cc_state;
1076 cc_state = (struct brw_cc_unit_state *)((char *)cc_state_bo->virtual +
1079 memset(cc_state, 0, sizeof(*cc_state));
1080 cc_state->cc0.stencil_enable = 0; /* disable stencil */
1081 cc_state->cc2.depth_test = 0; /* disable depth test */
1082 cc_state->cc2.logicop_enable = 0; /* disable logic op */
1083 cc_state->cc3.ia_blend_enable = 0; /* blend alpha same as colors */
1084 cc_state->cc3.blend_enable = 1; /* enable color blend */
1085 cc_state->cc3.alpha_test = 0; /* disable alpha test */
1087 cc_state->cc4.cc_viewport_state_offset =
1092 cc_state->cc5.dither_enable = 0; /* disable dither */
1093 cc_state->cc5.logicop_func = 0xc; /* COPY */
1094 cc_state->cc5.statistics_enable = 1;
1095 cc_state->cc5.ia_blend_function = BRW_BLENDFUNCTION_ADD;
1098 cc_state->cc5.ia_src_blend_factor = src_blend;
1099 cc_state->cc5.ia_dest_blend_factor = dst_blend;
1101 cc_state->cc6.blend_function = BRW_BLENDFUNCTION_ADD;
1102 cc_state->cc6.clamp_post_alpha_blend = 1;
1103 cc_state->cc6.clamp_pre_alpha_blend = 1;
1104 cc_state->cc6.clamp_range = 0; /* clamp range [0,1] */
1106 cc_state->cc6.src_blend_factor = src_blend;
1107 cc_state->cc6.dest_blend_factor = dst_blend;
1250 cc_state[i][j].state),
1668 cc_state[src_blend][dst_blend]));