/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_streamout.c | 70 if (!sctx->streamout.enabled_mask) in si_streamout_buffers_dirty() 147 unsigned enabled_mask = 0, append_bitmask = 0; in si_set_streamout_targets() local 154 enabled_mask |= 1 << i; in si_set_streamout_targets() 172 if (!!sctx->streamout.enabled_mask != !!enabled_mask) { in si_set_streamout_targets() 173 sctx->streamout.enabled_mask = enabled_mask; in si_set_streamout_targets() 404 sctx->streamout.enabled_mask | (sctx->streamout.enabled_mask << 4) | in si_set_streamout_enable() 405 (sctx->streamout.enabled_mask << 8) | (sctx->streamout.enabled_mask << 12); in si_set_streamout_enable()
|
D | si_descriptors.c | 238 unsigned mask = samplers->enabled_mask; in si_sampler_views_begin_new_cs() 253 unsigned mask = samplers->enabled_mask & samplers_declared; in si_sampler_views_check_encrypted() 586 samplers->enabled_mask |= 1u << slot; in si_set_sampler_views() 612 samplers->enabled_mask &= ~unbound_mask; in si_set_sampler_views() 654 unsigned mask = samplers->enabled_mask; in si_samplers_update_needs_color_decompress_mask() 687 uint mask = images->enabled_mask; in si_image_views_begin_new_cs() 703 uint mask = images->enabled_mask & images_declared; in si_image_views_check_encrypted() 722 if (images->enabled_mask & (1u << slot)) { in si_disable_shader_image() 730 images->enabled_mask &= ~(1u << slot); in si_disable_shader_image() 878 images->enabled_mask |= 1u << slot; in si_set_shader_image() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_streamout.c | 85 unsigned num_bufs = util_bitcount(rctx->streamout.enabled_mask); in r600_streamout_buffers_dirty() 86 unsigned num_bufs_appended = util_bitcount(rctx->streamout.enabled_mask & in r600_streamout_buffers_dirty() 120 unsigned enabled_mask = 0, append_bitmask = 0; in r600_set_streamout_targets() local 134 enabled_mask |= 1 << i; in r600_set_streamout_targets() 142 rctx->streamout.enabled_mask = enabled_mask; in r600_set_streamout_targets() 329 rctx->streamout.hw_enabled_mask = rctx->streamout.enabled_mask | in r600_set_streamout_enable() 330 (rctx->streamout.enabled_mask << 4) | in r600_set_streamout_enable() 331 (rctx->streamout.enabled_mask << 8) | in r600_set_streamout_enable() 332 (rctx->streamout.enabled_mask << 12); in r600_set_streamout_enable()
|
D | r600_state_common.c | 497 dst->states.enabled_mask &= ~disable_mask; in r600_bind_sampler_states() 498 dst->states.dirty_mask &= dst->states.enabled_mask; in r600_bind_sampler_states() 499 dst->states.enabled_mask |= new_mask; in r600_bind_sampler_states() 501 dst->states.has_bordercolor_mask &= dst->states.enabled_mask; in r600_bind_sampler_states() 626 rctx->vertex_buffer_state.enabled_mask &= ~disable_mask; in r600_set_vertex_buffers() 627 rctx->vertex_buffer_state.dirty_mask &= rctx->vertex_buffer_state.enabled_mask; in r600_set_vertex_buffers() 628 rctx->vertex_buffer_state.enabled_mask |= new_buffer_mask; in r600_set_vertex_buffers() 671 remaining_mask = dst->views.enabled_mask & disable_mask; in r600_set_sampler_views() 710 (dst->states.enabled_mask & (1 << i)) && in r600_set_sampler_views() 730 dst->views.enabled_mask &= ~disable_mask; in r600_set_sampler_views() [all …]
|
D | r600_hw_context.c | 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()
|
D | r600_pipe.h | 386 uint32_t enabled_mask; member 396 uint32_t enabled_mask; member 422 uint32_t enabled_mask; member 430 uint32_t enabled_mask; /* non-NULL buffers */ member 475 uint32_t enabled_mask; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_state.c | 128 so->enabled_mask &= ~(1 << index); in fd_set_constant_buffer() 132 so->enabled_mask |= 1 << index; in fd_set_constant_buffer() 153 so->enabled_mask &= ~modified_bits; in fd_set_shader_buffers() 173 so->enabled_mask |= BIT(n); in fd_set_shader_buffers() 216 so->enabled_mask |= BIT(n); in fd_set_shader_images() 227 so->enabled_mask &= ~BIT(n); in fd_set_shader_images() 240 so->enabled_mask &= ~mask; in fd_set_shader_images() 246 so->enabled_mask &= in fd_set_shader_images() 395 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, in fd_set_vertex_buffers() 398 so->count = util_last_bit(so->enabled_mask); in fd_set_vertex_buffers() [all …]
|
D | freedreno_draw.c | 142 u_foreach_bit (i, so->enabled_mask & so->writable_mask) in batch_draw_tracking_for_dirty_bits() 145 u_foreach_bit (i, so->enabled_mask & ~so->writable_mask) in batch_draw_tracking_for_dirty_bits() 150 u_foreach_bit (i, ctx->shaderimg[PIPE_SHADER_FRAGMENT].enabled_mask) { in batch_draw_tracking_for_dirty_bits() 163 u_foreach_bit (i, ctx->constbuf[s].enabled_mask) in batch_draw_tracking_for_dirty_bits() 176 u_foreach_bit (i, ctx->vtx.vertexbuf.enabled_mask) { in batch_draw_tracking_for_dirty_bits() 536 u_foreach_bit (i, so->enabled_mask & so->writable_mask) in fd_launch_grid() 539 u_foreach_bit (i, so->enabled_mask & ~so->writable_mask) in fd_launch_grid() 542 u_foreach_bit (i, ctx->shaderimg[PIPE_SHADER_COMPUTE].enabled_mask) { in fd_launch_grid() 551 u_foreach_bit (i, ctx->constbuf[PIPE_SHADER_COMPUTE].enabled_mask) in fd_launch_grid() 561 u_foreach_bit (i, ctx->global_bindings.enabled_mask) in fd_launch_grid()
|
D | freedreno_context.h | 69 uint32_t enabled_mask; member 74 uint32_t enabled_mask; member 80 uint32_t enabled_mask; member 86 uint32_t enabled_mask; member 133 uint32_t enabled_mask; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_image.c | 219 unsigned enabled_mask = so->enabled_mask; in fd5_emit_images() local 222 while (enabled_mask) { in fd5_emit_images() 223 unsigned index = u_bit_scan(&enabled_mask); in fd5_emit_images()
|
D | fd5_compute.c | 128 u_foreach_bit (i, ctx->global_bindings.enabled_mask) in fd5_launch_grid() 139 u_foreach_bit (i, ctx->global_bindings.enabled_mask) { in fd5_launch_grid()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_image.c | 239 unsigned enabled_mask = so->enabled_mask; in fd4_emit_images() local 242 while (enabled_mask) { in fd4_emit_images() 243 unsigned index = u_bit_scan(&enabled_mask); in fd4_emit_images()
|
D | fd4_compute.c | 147 u_foreach_bit (i, ctx->global_bindings.enabled_mask) in fd4_launch_grid() 158 u_foreach_bit (i, ctx->global_bindings.enabled_mask) { in fd4_launch_grid()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_state.c | 307 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, in v3d_set_vertex_buffers() 311 so->count = util_last_bit(so->enabled_mask); in v3d_set_vertex_buffers() 472 so->enabled_mask &= ~(1 << index); in v3d_set_constant_buffer() 477 so->enabled_mask |= 1 << index; in v3d_set_constant_buffer() 1346 so->enabled_mask |= 1 << n; in v3d_set_shader_buffers() 1348 so->enabled_mask &= ~(1 << n); in v3d_set_shader_buffers() 1360 so->enabled_mask &= ~mask; in v3d_set_shader_buffers() 1438 so->enabled_mask |= 1 << n; in v3d_set_shader_images() 1443 so->enabled_mask &= ~(1 << n); in v3d_set_shader_images() 1457 so->enabled_mask = 0; in v3d_set_shader_images() [all …]
|
D | v3d_context.h | 252 uint32_t enabled_mask; member 259 uint32_t enabled_mask; member 287 uint32_t enabled_mask; member 313 uint32_t enabled_mask; member
|
D | v3dx_draw.c | 192 u_foreach_bit(i, v3d->constbuf[s].enabled_mask) { in v3d_predraw_check_stage_inputs() 202 u_foreach_bit(i, v3d->ssbo[s].enabled_mask) { in v3d_predraw_check_stage_inputs() 212 u_foreach_bit(i, v3d->shaderimg[s].enabled_mask) { in v3d_predraw_check_stage_inputs() 222 u_foreach_bit(i, v3d->vertexbuf.enabled_mask) { in v3d_predraw_check_stage_inputs() 267 u_foreach_bit(i, v3d->vertexbuf.enabled_mask) { in v3d_state_reads_resource() 280 u_foreach_bit(i, v3d->constbuf[s].enabled_mask) { in v3d_state_reads_resource() 291 u_foreach_bit(i, v3d->ssbo[s].enabled_mask) { in v3d_state_reads_resource() 1050 u_foreach_bit(i, v3d->ssbo[s].enabled_mask) { in v3d_draw_vbo() 1056 u_foreach_bit(i, v3d->shaderimg[s].enabled_mask) { in v3d_draw_vbo() 1492 u_foreach_bit(i, v3d->ssbo[PIPE_SHADER_COMPUTE].enabled_mask) { in v3d_launch_grid() [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_context.h | 78 uint32_t enabled_mask; member 85 uint32_t enabled_mask; member
|
D | etnaviv_context.c | 333 u_foreach_bit(i, ctx->constant_buffer[PIPE_SHADER_VERTEX].enabled_mask) in etna_draw_vbo() 336 u_foreach_bit(i, ctx->constant_buffer[PIPE_SHADER_FRAGMENT].enabled_mask) in etna_draw_vbo() 342 u_foreach_bit(i, ctx->vertex_buffer.enabled_mask) { in etna_draw_vbo()
|
D | etnaviv_state.c | 97 so->enabled_mask &= ~(1 << index); in etna_set_constant_buffer() 108 so->enabled_mask |= 1 << index; in etna_set_constant_buffer() 453 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, in etna_set_vertex_buffers() 456 so->count = util_last_bit(so->enabled_mask); in etna_set_vertex_buffers()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.c | 55 uint32_t enabled_mask = constbuf->enabled_mask; in emit_constants() local 60 while (enabled_mask) { in emit_constants() 61 unsigned index = ffs(enabled_mask) - 1; in emit_constants() 93 enabled_mask &= ~(1 << index); in emit_constants()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_compute.c | 131 u_foreach_bit (i, ctx->global_bindings.enabled_mask) in fd6_launch_grid() 142 u_foreach_bit (i, ctx->global_bindings.enabled_mask) { in fd6_launch_grid()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_state.c | 197 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, in lima_set_vertex_buffers() 201 so->count = util_last_bit(so->enabled_mask); in lima_set_vertex_buffers() 474 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, NULL, in lima_state_fini()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_state.c | 323 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, in vc4_set_vertex_buffers() 327 so->count = util_last_bit(so->enabled_mask); in vc4_set_vertex_buffers() 399 so->enabled_mask &= ~(1 << index); in vc4_set_constant_buffer() 409 so->enabled_mask |= 1 << index; in vc4_set_constant_buffer()
|
D | vc4_context.h | 179 uint32_t enabled_mask; member 186 uint32_t enabled_mask; member
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_print_ir.cpp | 437 if ((exp.enabled_mask & identity_mask) != identity_mask) in print_instr_format_specific() 438 fprintf(output, " en:%c%c%c%c", exp.enabled_mask & 0x1 ? 'r' : '*', in print_instr_format_specific() 439 exp.enabled_mask & 0x2 ? 'g' : '*', exp.enabled_mask & 0x4 ? 'b' : '*', in print_instr_format_specific() 440 exp.enabled_mask & 0x8 ? 'a' : '*'); in print_instr_format_specific()
|