Lines Matching refs:cc_state
713 struct brw_cc_unit_state *cc_state;
719 if (intel_alloc_and_map(pI830, "textured video cc state", sizeof(*cc_state),
720 &cc_bo, &cc_state) != 0) {
726 memset(cc_state, 0, sizeof(*cc_state));
727 cc_state->cc0.stencil_enable = 0; /* disable stencil */
728 cc_state->cc2.depth_test = 0; /* disable depth test */
729 cc_state->cc2.logicop_enable = 1; /* enable logic op */
730 cc_state->cc3.ia_blend_enable = 1; /* blend alpha just like colors */
731 cc_state->cc3.blend_enable = 0; /* disable color blend */
732 cc_state->cc3.alpha_test = 0; /* disable alpha test */
733 cc_state->cc4.cc_viewport_state_offset =
737 cc_state->cc5.dither_enable = 0; /* disable dither */
738 cc_state->cc5.logicop_func = 0xc; /* WHITE */
739 cc_state->cc5.statistics_enable = 1;
740 cc_state->cc5.ia_blend_function = BRW_BLENDFUNCTION_ADD;
741 cc_state->cc5.ia_src_blend_factor = BRW_BLENDFACTOR_ONE;
742 cc_state->cc5.ia_dest_blend_factor = BRW_BLENDFACTOR_ONE;