Home
last modified time | relevance | path

Searched refs:dirty_mask (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c67 rctx->scissors.dirty_mask |= ((1 << num_scissors) - 1) << start_slot; in r600_set_scissor_states()
240 unsigned mask = rctx->scissors.dirty_mask; in r600_emit_scissors()
255 rctx->scissors.dirty_mask &= ~1; /* clear one bit */ in r600_emit_scissors()
278 rctx->scissors.dirty_mask = 0; in r600_emit_scissors()
299 rctx->viewports.dirty_mask |= mask; in r600_set_viewport_states()
301 rctx->scissors.dirty_mask |= mask; in r600_set_viewport_states()
323 unsigned mask = rctx->viewports.dirty_mask; in r600_emit_viewports()
332 rctx->viewports.dirty_mask &= ~1; /* clear one bit */ in r600_emit_viewports()
346 rctx->viewports.dirty_mask = 0; in r600_emit_viewports()
399 rctx->scissors.dirty_mask = (1 << R600_MAX_VIEWPORTS) - 1; in r600_viewport_set_rast_deps()
[all …]
Dr600_hw_context.c369 ctx->b.scissors.dirty_mask = (1 << R600_MAX_VIEWPORTS) - 1; in r600_begin_new_cs()
371 ctx->b.viewports.dirty_mask = (1 << R600_MAX_VIEWPORTS) - 1; in r600_begin_new_cs()
404 ctx->vertex_buffer_state.dirty_mask = ctx->vertex_buffer_state.enabled_mask; in r600_begin_new_cs()
412 constbuf->dirty_mask = constbuf->enabled_mask; in r600_begin_new_cs()
413 samplers->views.dirty_mask = samplers->views.enabled_mask; in r600_begin_new_cs()
414 samplers->states.dirty_mask = samplers->states.enabled_mask; in r600_begin_new_cs()
Dr600_state_common.c435 if (state->dirty_mask) { in r600_sampler_states_dirty()
436 if (state->dirty_mask & state->has_bordercolor_mask) { in r600_sampler_states_dirty()
440 util_bitcount(state->dirty_mask & state->has_bordercolor_mask) * 11 + in r600_sampler_states_dirty()
441 util_bitcount(state->dirty_mask & ~state->has_bordercolor_mask) * 5; in r600_sampler_states_dirty()
493 dst->states.dirty_mask &= dst->states.enabled_mask; in r600_bind_sampler_states()
495 dst->states.dirty_mask |= new_mask; in r600_bind_sampler_states()
560 if (rctx->vertex_buffer_state.dirty_mask) { in r600_vertex_buffers_dirty()
562 util_bitcount(rctx->vertex_buffer_state.dirty_mask); in r600_vertex_buffers_dirty()
609 rctx->vertex_buffer_state.dirty_mask &= rctx->vertex_buffer_state.enabled_mask; in r600_set_vertex_buffers()
611 rctx->vertex_buffer_state.dirty_mask |= new_buffer_mask; in r600_set_vertex_buffers()
[all …]
Dr600_state.c1664 uint32_t dirty_mask = rctx->vertex_buffer_state.dirty_mask; in r600_emit_vertex_buffers() local
1666 while (dirty_mask) { in r600_emit_vertex_buffers()
1670 unsigned buffer_index = u_bit_scan(&dirty_mask); in r600_emit_vertex_buffers()
1704 uint32_t dirty_mask = state->dirty_mask; in r600_emit_constant_buffers() local
1706 while (dirty_mask) { in r600_emit_constant_buffers()
1710 unsigned buffer_index = ffs(dirty_mask) - 1; in r600_emit_constant_buffers()
1744 dirty_mask &= ~(1 << buffer_index); in r600_emit_constant_buffers()
1746 state->dirty_mask = 0; in r600_emit_constant_buffers()
1778 uint32_t dirty_mask = state->dirty_mask; in r600_emit_sampler_views() local
1780 while (dirty_mask) { in r600_emit_sampler_views()
[all …]
Dr600_pipe.h385 uint32_t dirty_mask; member
395 uint32_t dirty_mask; member
421 uint32_t dirty_mask; member
429 uint32_t dirty_mask; member
474 uint32_t dirty_mask; member
Devergreen_state.c2018 unsigned dirty_mask = a->image_rat_enabled_mask; in evergreen_construct_rat_mask() local
2019 while (dirty_mask) { in evergreen_construct_rat_mask()
2020 unsigned idx = u_bit_scan(&dirty_mask); in evergreen_construct_rat_mask()
2024 dirty_mask = a->buffer_rat_enabled_mask; in evergreen_construct_rat_mask()
2025 while (dirty_mask) { in evergreen_construct_rat_mask()
2026 unsigned idx = u_bit_scan(&dirty_mask); in evergreen_construct_rat_mask()
2128 uint32_t dirty_mask = state->dirty_mask; in evergreen_emit_vertex_buffers() local
2130 while (dirty_mask) { in evergreen_emit_vertex_buffers()
2134 unsigned buffer_index = u_bit_scan(&dirty_mask); in evergreen_emit_vertex_buffers()
2165 state->dirty_mask = 0; in evergreen_emit_vertex_buffers()
[all …]
Dr600_pipe_common.h464 unsigned dirty_mask; member
470 unsigned dirty_mask; member
Devergreen_compute.c180 state->dirty_mask |= 1 << vb_index; in evergreen_cs_set_vertex_buffer()
819 …->cs_vertex_buffer_state.atom.num_dw = 12 * util_bitcount(rctx->cs_vertex_buffer_state.dirty_mask); in compute_emit_cs()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.h180 uint32_t dirty_mask; member
187 uint32_t dirty_mask; member
Dvc4_state.c395 so->dirty_mask &= ~(1 << index); in vc4_set_constant_buffer()
408 so->dirty_mask |= 1 << index; in vc4_set_constant_buffer()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_context.h242 uint32_t dirty_mask; member
249 uint32_t dirty_mask; member
Dv3dx_state.c461 so->dirty_mask &= ~(1 << index); in v3d_set_constant_buffer()
466 so->dirty_mask |= 1 << index; in v3d_set_constant_buffer()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.h66 uint32_t dirty_mask; member
Dpan_context.c918 pbuf->dirty_mask &= ~mask; in panfrost_set_constant_buffer()
923 pbuf->dirty_mask |= mask; in panfrost_set_constant_buffer()
Dpan_cmdstream.c945 buf->dirty_mask = 0; in panfrost_emit_const_buf()