Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render.c76 uint32_t color_control = rs->color_control; in r300_provoking_vertex_fixes() local
99 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_SECOND; in r300_provoking_vertex_fixes()
104 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_LAST; in r300_provoking_vertex_fixes()
107 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_FIRST; in r300_provoking_vertex_fixes()
111 color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_LAST; in r300_provoking_vertex_fixes()
114 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()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c324 uint32_t color_control = 0, target_mask = 0; in r600_create_blend_state_mode() local
336 color_control |= S_028808_PER_MRT_BLEND(1); in r600_create_blend_state_mode()
339 color_control |= (state->logicop_func << 16) | (state->logicop_func << 20); in r600_create_blend_state_mode()
341 color_control |= (0xcc << 16); in r600_create_blend_state_mode()
347 color_control |= S_028808_TARGET_BLEND_ENABLE(1 << i); in r600_create_blend_state_mode()
354 color_control |= S_028808_TARGET_BLEND_ENABLE(1 << i); in r600_create_blend_state_mode()
361 color_control |= S_028808_SPECIAL_OP(mode); in r600_create_blend_state_mode()
363 color_control |= S_028808_SPECIAL_OP(V_028808_DISABLE); in r600_create_blend_state_mode()
368 blend->cb_color_control = color_control; in r600_create_blend_state_mode()
369 blend->cb_color_control_no_blend = color_control & C_028808_TARGET_BLEND_ENABLE; in r600_create_blend_state_mode()
[all …]
Dr600_state_common.c191 unsigned color_control; in r600_bind_blend_state_internal() local
199 color_control = blend->cb_color_control; in r600_bind_blend_state_internal()
203 color_control = blend->cb_color_control_no_blend; in r600_bind_blend_state_internal()
212 rctx->cb_misc_state.cb_color_control != color_control) { in r600_bind_blend_state_internal()
213 rctx->cb_misc_state.cb_color_control = color_control; in r600_bind_blend_state_internal()
Devergreen_state.c326 uint32_t color_control = 0, target_mask = 0; in evergreen_create_blend_state_mode() local
337 color_control |= (state->logicop_func << 16) | (state->logicop_func << 20); in evergreen_create_blend_state_mode()
339 color_control |= (0xcc << 16); in evergreen_create_blend_state_mode()
358 color_control |= S_028808_MODE(mode); in evergreen_create_blend_state_mode()
360 color_control |= S_028808_MODE(V_028808_CB_DISABLE); in evergreen_create_blend_state_mode()
363 r600_store_context_reg(&blend->buffer, R_028808_CB_COLOR_CONTROL, color_control); in evergreen_create_blend_state_mode()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c440 uint32_t color_control = 0; in si_create_blend_state_mode() local
464 color_control |= S_028808_ROP3(state->logicop_func | (state->logicop_func << 4)); in si_create_blend_state_mode()
466 color_control |= S_028808_ROP3(0xcc); in si_create_blend_state_mode()
607 color_control |= S_028808_MODE(mode); in si_create_blend_state_mode()
609 color_control |= S_028808_MODE(V_028808_CB_DISABLE); in si_create_blend_state_mode()
628 color_control |= S_028808_DISABLE_DUAL_QUAD(1); in si_create_blend_state_mode()
631 si_pm4_set_reg(pm4, R_028808_CB_COLOR_CONTROL, color_control); in si_create_blend_state_mode()