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.c1251 rs->color_control = R300_SHADE_MODEL_FLAT; in r300_create_rs_state()
1253 rs->color_control = R300_SHADE_MODEL_SMOOTH; in r300_create_rs_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c318 uint32_t color_control = 0, target_mask = 0; in r600_create_blend_state_mode() local
330 color_control |= S_028808_PER_MRT_BLEND(1); in r600_create_blend_state_mode()
333 color_control |= (state->logicop_func << 16) | (state->logicop_func << 20); in r600_create_blend_state_mode()
335 color_control |= (0xcc << 16); in r600_create_blend_state_mode()
341 color_control |= S_028808_TARGET_BLEND_ENABLE(1 << i); in r600_create_blend_state_mode()
348 color_control |= S_028808_TARGET_BLEND_ENABLE(1 << i); in r600_create_blend_state_mode()
355 color_control |= S_028808_SPECIAL_OP(mode); in r600_create_blend_state_mode()
357 color_control |= S_028808_SPECIAL_OP(V_028808_DISABLE); in r600_create_blend_state_mode()
362 blend->cb_color_control = color_control; in r600_create_blend_state_mode()
363 blend->cb_color_control_no_blend = color_control & C_028808_TARGET_BLEND_ENABLE; in r600_create_blend_state_mode()
[all …]
Dr600_state_common.c182 unsigned color_control; in r600_bind_blend_state_internal() local
190 color_control = blend->cb_color_control; in r600_bind_blend_state_internal()
194 color_control = blend->cb_color_control_no_blend; in r600_bind_blend_state_internal()
203 rctx->cb_misc_state.cb_color_control != color_control) { in r600_bind_blend_state_internal()
204 rctx->cb_misc_state.cb_color_control = color_control; in r600_bind_blend_state_internal()
Devergreen_state.c319 uint32_t color_control = 0, target_mask = 0; in evergreen_create_blend_state_mode() local
330 color_control |= (state->logicop_func << 16) | (state->logicop_func << 20); in evergreen_create_blend_state_mode()
332 color_control |= (0xcc << 16); in evergreen_create_blend_state_mode()
351 color_control |= S_028808_MODE(mode); in evergreen_create_blend_state_mode()
353 color_control |= S_028808_MODE(V_028808_CB_DISABLE); in evergreen_create_blend_state_mode()
356 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.c474 uint32_t color_control = 0; in si_create_blend_state_mode() local
485 color_control |= S_028808_ROP3(state->logicop_func | (state->logicop_func << 4)); in si_create_blend_state_mode()
487 color_control |= S_028808_ROP3(0xcc); in si_create_blend_state_mode()
627 color_control |= S_028808_MODE(mode); in si_create_blend_state_mode()
629 color_control |= S_028808_MODE(V_028808_CB_DISABLE); in si_create_blend_state_mode()
651 color_control |= S_028808_DISABLE_DUAL_QUAD(1); in si_create_blend_state_mode()
654 si_pm4_set_reg(pm4, R_028808_CB_COLOR_CONTROL, color_control); in si_create_blend_state_mode()