Home
last modified time | relevance | path

Searched refs:color_control (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c75 uint32_t color_control = rs->color_control; in r300_provoking_vertex_fixes() local
98 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_SECOND; in r300_provoking_vertex_fixes()
103 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_LAST; in r300_provoking_vertex_fixes()
106 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_FIRST; in r300_provoking_vertex_fixes()
110 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_LAST; in r300_provoking_vertex_fixes()
113 return color_control; in r300_provoking_vertex_fixes()
Dr300_context.h161 uint32_t color_control; /* R300_GA_COLOR_CONTROL: 0x4278 */ member
Dr300_state.c1245 rs->color_control = R300_SHADE_MODEL_FLAT; in r300_create_rs_state()
1247 rs->color_control = R300_SHADE_MODEL_SMOOTH; in r300_create_rs_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c319 uint32_t color_control = 0, target_mask = 0; in r600_create_blend_state_mode() local
331 color_control |= S_028808_PER_MRT_BLEND(1); in r600_create_blend_state_mode()
334 color_control |= (state->logicop_func << 16) | (state->logicop_func << 20); in r600_create_blend_state_mode()
336 color_control |= (0xcc << 16); in r600_create_blend_state_mode()
342 color_control |= S_028808_TARGET_BLEND_ENABLE(1 << i); in r600_create_blend_state_mode()
349 color_control |= S_028808_TARGET_BLEND_ENABLE(1 << i); in r600_create_blend_state_mode()
356 color_control |= S_028808_SPECIAL_OP(mode); in r600_create_blend_state_mode()
358 color_control |= S_028808_SPECIAL_OP(V_028808_DISABLE); in r600_create_blend_state_mode()
363 blend->cb_color_control = color_control; in r600_create_blend_state_mode()
364 blend->cb_color_control_no_blend = color_control & C_028808_TARGET_BLEND_ENABLE; in r600_create_blend_state_mode()
[all …]
Dr600_state_common.c190 unsigned color_control; in r600_bind_blend_state_internal() local
198 color_control = blend->cb_color_control; in r600_bind_blend_state_internal()
202 color_control = blend->cb_color_control_no_blend; in r600_bind_blend_state_internal()
211 rctx->cb_misc_state.cb_color_control != color_control) { in r600_bind_blend_state_internal()
212 rctx->cb_misc_state.cb_color_control = color_control; in r600_bind_blend_state_internal()
Devergreen_state.c321 uint32_t color_control = 0, target_mask = 0; in evergreen_create_blend_state_mode() local
332 color_control |= (state->logicop_func << 16) | (state->logicop_func << 20); in evergreen_create_blend_state_mode()
334 color_control |= (0xcc << 16); in evergreen_create_blend_state_mode()
353 color_control |= S_028808_MODE(mode); in evergreen_create_blend_state_mode()
355 color_control |= S_028808_MODE(V_028808_CB_DISABLE); in evergreen_create_blend_state_mode()
358 r600_store_context_reg(&blend->buffer, R_028808_CB_COLOR_CONTROL, color_control); in evergreen_create_blend_state_mode()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c437 uint32_t color_control = 0; in si_create_blend_state_mode() local
453 color_control |= S_028808_ROP3(state->logicop_func | (state->logicop_func << 4)); in si_create_blend_state_mode()
455 color_control |= S_028808_ROP3(0xcc); in si_create_blend_state_mode()
596 color_control |= S_028808_MODE(mode); in si_create_blend_state_mode()
598 color_control |= S_028808_MODE(V_028808_CB_DISABLE); in si_create_blend_state_mode()
617 color_control |= S_028808_DISABLE_DUAL_QUAD(1); in si_create_blend_state_mode()
620 si_pm4_set_reg(pm4, R_028808_CB_COLOR_CONTROL, color_control); in si_create_blend_state_mode()