Lines Matching refs:cc_state
830 struct brw_cc_unit_state cc_state;
838 sizeof(cc_state), 0);
845 memset(&cc_state, 0, sizeof(cc_state));
846 cc_state.cc0.stencil_enable = 0; /* disable stencil */
847 cc_state.cc2.depth_test = 0; /* disable depth test */
848 cc_state.cc2.logicop_enable = 1; /* enable logic op */
849 cc_state.cc3.ia_blend_enable = 1; /* blend alpha just like colors */
850 cc_state.cc3.blend_enable = 0; /* disable color blend */
851 cc_state.cc3.alpha_test = 0; /* disable alpha test */
852 cc_state.cc4.cc_viewport_state_offset =
855 cc_state.cc5.dither_enable = 0; /* disable dither */
856 cc_state.cc5.logicop_func = 0xc; /* WHITE */
857 cc_state.cc5.statistics_enable = 1;
858 cc_state.cc5.ia_blend_function = BRW_BLENDFUNCTION_ADD;
859 cc_state.cc5.ia_src_blend_factor = BRW_BLENDFACTOR_ONE;
860 cc_state.cc5.ia_dest_blend_factor = BRW_BLENDFACTOR_ONE;
862 dri_bo_subdata(cc_bo, 0, sizeof(cc_state), &cc_state);
1382 struct gen6_color_calc_state cc_state;
1384 memset(&cc_state, 0, sizeof(cc_state));
1385 cc_state.constant_r = 1.0;
1386 cc_state.constant_g = 0.0;
1387 cc_state.constant_b = 1.0;
1388 cc_state.constant_a = 1.0;
1391 &cc_state, sizeof(cc_state),