/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_util.c | 267 read_mask = u_bit_consecutive(0, dim); in tgsi_util_get_inst_usage_mask() 269 read_mask = u_bit_consecutive(0, dim_layer_shadow) & 0xf; in tgsi_util_get_inst_usage_mask() 283 read_mask = u_bit_consecutive(0, dim); in tgsi_util_get_inst_usage_mask() 293 read_mask = u_bit_consecutive(0, dim); in tgsi_util_get_inst_usage_mask() 304 read_mask = u_bit_consecutive(0, dim); in tgsi_util_get_inst_usage_mask() 311 read_mask = u_bit_consecutive(0, dim); in tgsi_util_get_inst_usage_mask() 332 read_mask = u_bit_consecutive(0, dim); in tgsi_util_get_inst_usage_mask()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | nir.c | 45 dest->write_mask = u_bit_consecutive(0, ssa->num_components); in ppir_node_create_ssa() 113 u_bit_consecutive(0, 4)); in ppir_node_add_src() 248 &instr->src[0], u_bit_consecutive(0, instr->num_components)); in ppir_emit_discard_if() 273 mask = u_bit_consecutive(0, instr->num_components); in ppir_emit_intrinsic() 294 mask = u_bit_consecutive(0, instr->num_components); in ppir_emit_intrinsic() 322 mask = u_bit_consecutive(0, instr->num_components); in ppir_emit_intrinsic() 369 dest->write_mask = u_bit_consecutive(0, instr->num_components); in ppir_emit_intrinsic() 377 u_bit_consecutive(0, instr->num_components)); in ppir_emit_intrinsic() 464 mask = u_bit_consecutive(0, nir_tex_instr_dest_size(instr)); in ppir_emit_tex() 493 u_bit_consecutive(0, instr->coord_components)); in ppir_emit_tex()
|
D | regalloc.c | 207 ld_dest->write_mask = u_bit_consecutive(0, num_components); in ppir_update_spilled_src() 242 alu_dest->write_mask = u_bit_consecutive(0, num_components); in ppir_update_spilled_src() 291 load->dest.write_mask = u_bit_consecutive(0, num_components); in ppir_update_spilled_dest_load() 314 move_alu->dest.write_mask = u_bit_consecutive(0, num_components); in ppir_update_spilled_dest_load()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 195 u_bit_consecutive(tex->sampler_index, 1); in scan_instruction() 797 info->const_buffers_declared = u_bit_consecutive(1, nir->info.num_ubos); in nir_tgsi_scan_shader() 812 info->clipdist_writemask = u_bit_consecutive(0, info->num_written_clipdistance); in nir_tgsi_scan_shader() 813 info->culldist_writemask = u_bit_consecutive(0, info->num_written_culldistance); in nir_tgsi_scan_shader()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_clip_disable.c | 125 if (clip_plane_enable == u_bit_consecutive(0, shader->info.clip_distance_array_size)) in nir_lower_clip_disable()
|
/third_party/mesa3d/src/util/ |
D | bitscan.h | 282 u_bit_consecutive(unsigned start, unsigned count) in u_bit_consecutive() function
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 183 ureg_writemask(ureg_dst(values[i]), u_bit_consecutive(0, inst_dwords[i])); in si_create_dma_compute_shader() 195 struct ureg_dst dst = ureg_writemask(dstbuf, u_bit_consecutive(0, inst_dwords[d])); in si_create_dma_compute_shader()
|
D | si_blit.c | 287 unsigned level_mask = u_bit_consecutive(first_level, last_level - first_level + 1); in si_decompress_depth() 439 unsigned level_mask = u_bit_consecutive(first_level, last_level - first_level + 1); in si_blit_decompress_color() 719 u_bit_consecutive(0, info->base.num_images)); in si_check_render_feedback() 806 if (shader_mask & u_bit_consecutive(0, SI_NUM_GRAPHICS_SHADERS)) { in si_decompress_textures() 1318 stex->dirty_level_mask &= ~u_bit_consecutive(base_level + 1, last_level - base_level); in si_generate_mipmap()
|
D | si_descriptors.c | 1951 u_bit_consecutive(SI_DESCS_FIRST_SHADER + shader * SI_NUM_SHADER_DESCS, SI_NUM_SHADER_DESCS); in si_mark_shader_pointers_dirty() 1970 sctx->shader_pointers_dirty = u_bit_consecutive(0, SI_NUM_DESCS); in si_shader_pointers_mark_dirty() 2132 sctx->shader_pointers_dirty &= ~u_bit_consecutive(SI_DESCS_INTERNAL, SI_DESCS_FIRST_COMPUTE); in si_emit_graphics_shader_pointers() 2659 sctx->descriptors_dirty = u_bit_consecutive(0, SI_NUM_DESCS); in si_init_all_descriptors() 2719 const unsigned mask = u_bit_consecutive(0, SI_DESCS_FIRST_COMPUTE); in si_upload_graphics_shader_descriptors() 2729 u_bit_consecutive(SI_DESCS_FIRST_COMPUTE, SI_NUM_DESCS - SI_DESCS_FIRST_COMPUTE); in si_upload_compute_shader_descriptors() 2771 … u_bit_consecutive(0, current_shader->cso->info.base.num_images)); in si_gfx_resources_check_encrypted() 2850 …si_image_views_check_encrypted(sctx, &sctx->images[sh], u_bit_consecutive(0, info->base.num_images… in si_compute_resources_check_encrypted()
|
D | si_debug.c | 771 enabled_constbuf = u_bit_consecutive(0, info->base.num_ubos); in si_dump_descriptors() 772 enabled_shaderbuf = u_bit_consecutive(0, info->base.num_ssbos); in si_dump_descriptors() 774 enabled_images = u_bit_consecutive(0, info->base.num_images); in si_dump_descriptors()
|
D | si_gfx_cs.c | 447 u_bit_consecutive(0, ctx->framebuffer.state.nr_cbufs); in si_begin_new_gfx_cs() 451 ctx->framebuffer.dirty_cbufs = u_bit_consecutive(0, 8); in si_begin_new_gfx_cs()
|
D | si_state.h | 406 u_bit_consecutive(SI_DESCS_FIRST_SHADER + PIPE_SHADER_##name * SI_NUM_SHADER_DESCS, \
|
D | si_clear.c | 229 int max = u_bit_consecutive(0, desc->channel[i].size - 1); in vi_get_fast_clear_parameters() 237 unsigned max = u_bit_consecutive(0, desc->channel[i].size); in vi_get_fast_clear_parameters()
|
D | si_compute.c | 153 unsigned non_msaa_images = u_bit_consecutive(0, sel->info.base.num_images) & in si_create_compute_state_async() 881 mask = u_bit_consecutive(0, info->base.num_images) & images->enabled_mask; in si_check_needs_implicit_sync()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom.c | 136 if (ctx->Scissor.EnableFlags & u_bit_consecutive(0, num_viewports)) in check_program_state()
|
D | st_atom_blend.c | 133 GLbitfield cb_mask = u_bit_consecutive(0, num_cb); in blend_per_rt()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_vulkan_resource.c | 154 return u_bit_consecutive(value, size); in lower_vri_instr_tex_deref()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.c | 1038 binding->view_enabled_mask &= ~u_bit_consecutive(start_slot, num_views); in virgl_set_sampler_views() 1238 vctx->atomic_buffer_enabled_mask &= ~u_bit_consecutive(start_slot, count); in virgl_set_hw_atomic_buffers() 1268 binding->ssbo_enabled_mask &= ~u_bit_consecutive(start_slot, count); in virgl_set_shader_buffers() 1324 binding->image_enabled_mask &= ~u_bit_consecutive(start_slot, count); in virgl_set_shader_images()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_helpers.c | 57 *enabled_buffers &= ~u_bit_consecutive(start_slot, count); in util_set_vertex_buffers_mask()
|
D | u_vbuf.c | 359 mgr->allowed_vb_mask = u_bit_consecutive(0, mgr->caps.max_vertex_buffers); in u_vbuf_create() 901 ve->incompatible_elem_mask = u_bit_consecutive(0, count); in u_vbuf_create_vertex_elements()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_insert_NOPs.cpp | 217 writemask |= u_bit_consecutive(start, end - start); in handle_raw_hazard_instr() 276 state, state.block, min_states, op.physReg(), u_bit_consecutive(0, op.size()), false); in handle_raw_hazard()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_state.c | 149 const unsigned modified_bits = u_bit_consecutive(start, count); in fd_set_shader_buffers()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state.c | 1088 unsigned clear_mask = ~u_bit_consecutive(start_slot + count, unbind_num_trailing_slots); in nv50_set_vertex_buffers() 1094 clear_mask = ~u_bit_consecutive(start_slot, count); in nv50_set_vertex_buffers()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state.c | 1032 unsigned clear_mask = ~u_bit_consecutive(start_slot + count, unbind_num_trailing_slots); in nvc0_set_vertex_buffers() 1038 clear_mask = ~u_bit_consecutive(start_slot, count); in nvc0_set_vertex_buffers()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.c | 452 ws->info.enabled_rb_mask = u_bit_consecutive(0, ws->info.max_render_backends); in do_winsys_init()
|