Lines Matching refs:cc_state
574 brw_cc_unit_state_padded cc_state[BRW_BLENDFACTOR_COUNT]
802 struct brw_cc_unit_state *cc_state;
804 cc_state = (struct brw_cc_unit_state *)((char *)cc_state_bo->virtual +
807 memset(cc_state, 0, sizeof(*cc_state));
808 cc_state->cc0.stencil_enable = 0; /* disable stencil */
809 cc_state->cc2.depth_test = 0; /* disable depth test */
810 cc_state->cc2.logicop_enable = 0; /* disable logic op */
811 cc_state->cc3.ia_blend_enable = 0; /* blend alpha same as colors */
812 cc_state->cc3.blend_enable = 1; /* enable color blend */
813 cc_state->cc3.alpha_test = 0; /* disable alpha test */
815 cc_state->cc4.cc_viewport_state_offset =
821 cc_state->cc5.dither_enable = 0; /* disable dither */
822 cc_state->cc5.logicop_func = 0xc; /* COPY */
823 cc_state->cc5.statistics_enable = 1;
824 cc_state->cc5.ia_blend_function = BRW_BLENDFUNCTION_ADD;
827 cc_state->cc5.ia_src_blend_factor = src_blend;
828 cc_state->cc5.ia_dest_blend_factor = dst_blend;
830 cc_state->cc6.blend_function = BRW_BLENDFUNCTION_ADD;
831 cc_state->cc6.clamp_post_alpha_blend = 1;
832 cc_state->cc6.clamp_pre_alpha_blend = 1;
833 cc_state->cc6.clamp_range = 0; /* clamp range [0,1] */
835 cc_state->cc6.src_blend_factor = src_blend;
836 cc_state->cc6.dest_blend_factor = dst_blend;
962 struct gen4_cc_unit_state *cc_state;
969 sizeof(*cc_state), 4096);
971 cc_state = cc_state_bo->virtual;
976 cc_state[i][j].state),
1268 cc_state[src_blend][dst_blend]));