Home
last modified time | relevance | path

Searched refs:u_bit_consecutive (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c267 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/
Dnir.c45 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()
Dregalloc.c207 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/
Dnir_to_tgsi_info.c195 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/
Dnir_lower_clip_disable.c125 if (clip_plane_enable == u_bit_consecutive(0, shader->info.clip_distance_array_size)) in nir_lower_clip_disable()
/third_party/mesa3d/src/util/
Dbitscan.h282 u_bit_consecutive(unsigned start, unsigned count) in u_bit_consecutive() function
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c183 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()
Dsi_blit.c287 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()
Dsi_descriptors.c1951 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()
2771u_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()
Dsi_debug.c771 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()
Dsi_gfx_cs.c447 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()
Dsi_state.h406 u_bit_consecutive(SI_DESCS_FIRST_SHADER + PIPE_SHADER_##name * SI_NUM_SHADER_DESCS, \
Dsi_clear.c229 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()
Dsi_compute.c153 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/
Dst_atom.c136 if (ctx->Scissor.EnableFlags & u_bit_consecutive(0, num_viewports)) in check_program_state()
Dst_atom_blend.c133 GLbitfield cb_mask = u_bit_consecutive(0, num_cb); in blend_per_rt()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c154 return u_bit_consecutive(value, size); in lower_vri_instr_tex_deref()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c1038 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/
Du_helpers.c57 *enabled_buffers &= ~u_bit_consecutive(start_slot, count); in util_set_vertex_buffers_mask()
Du_vbuf.c359 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/
Daco_insert_NOPs.cpp217 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/
Dfreedreno_state.c149 const unsigned modified_bits = u_bit_consecutive(start, count); in fd_set_shader_buffers()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c1088 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/
Dnvc0_state.c1032 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/
Dradeon_drm_winsys.c452 ws->info.enabled_rb_mask = u_bit_consecutive(0, ws->info.max_render_backends); in do_winsys_init()

12