Home
last modified time | relevance | path

Searched refs:used_mask (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.h359 uint64_t used_mask[CROCUS_SURFACE_GROUP_COUNT]; member
851 uint64_t mask = bt->used_mask[group]; in crocus_group_index_to_bti()
869 uint64_t used_mask = bt->used_mask[group]; in crocus_bti_to_group_index() local
873 while (used_mask) { in crocus_bti_to_group_index()
874 int i = u_bit_scan64(&used_mask); in crocus_bti_to_group_index()
Dcrocus_program.c719 compacted += util_bitcount64(bt->used_mask[i]); in crocus_print_binding_table()
737 uint64_t mask = bt->used_mask[i]; in crocus_print_binding_table()
768 assert(bt->used_mask[group] == BITFIELD64_MASK(bt->sizes[group])); in rewrite_src_with_bti()
783 bt->used_mask[group] |= 1ull << index; in mark_used_with_src()
786 bt->used_mask[group] = BITFIELD64_MASK(bt->sizes[group]); in mark_used_with_src()
821 bt->used_mask[CROCUS_SURFACE_GROUP_RENDER_TARGET] = in crocus_setup_binding_table()
829 bt->used_mask[CROCUS_SURFACE_GROUP_RENDER_TARGET_READ] = in crocus_setup_binding_table()
840 bt->used_mask[CROCUS_SURFACE_GROUP_SOL] = (uint64_t)-1; in crocus_setup_binding_table()
845 bt->used_mask[CROCUS_SURFACE_GROUP_TEXTURE] = info->textures_used[0]; in crocus_setup_binding_table()
849 bt->used_mask[CROCUS_SURFACE_GROUP_TEXTURE_GATHER] = info->textures_used[0]; in crocus_setup_binding_table()
[all …]
Dcrocus_draw.c454 bool grid_needs_surface = shader->bt.used_mask[CROCUS_SURFACE_GROUP_CS_WORK_GROUPS]; in crocus_update_grid_size_resource()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c759 compacted += util_bitcount64(bt->used_mask[i]); in iris_print_binding_table()
777 uint64_t mask = bt->used_mask[i]; in iris_print_binding_table()
801 uint64_t mask = bt->used_mask[group]; in iris_group_index_to_bti()
819 uint64_t used_mask = bt->used_mask[group]; in iris_bti_to_group_index() local
823 while (used_mask) { in iris_bti_to_group_index()
824 int i = u_bit_scan64(&used_mask); in iris_bti_to_group_index()
850 assert(bt->used_mask[group] == BITFIELD64_MASK(bt->sizes[group])); in rewrite_src_with_bti()
865 bt->used_mask[group] |= 1ull << index; in mark_used_with_src()
868 bt->used_mask[group] = BITFIELD64_MASK(bt->sizes[group]); in mark_used_with_src()
902 bt->used_mask[IRIS_SURFACE_GROUP_RENDER_TARGET] = in iris_setup_binding_table()
[all …]
Diris_draw.c335 bool grid_needs_surface = shader->bt.used_mask[IRIS_SURFACE_GROUP_CS_WORK_GROUPS]; in iris_update_grid_size_resource()
Diris_context.h477 uint64_t used_mask[IRIS_SURFACE_GROUP_COUNT]; member
Diris_state.c5080 if (!pin_only && shader->bt.used_mask[section] != 0) \
5117 shader->bt.used_mask[IRIS_SURFACE_GROUP_CS_WORK_GROUPS]) { in iris_populate_binding_table()
/third_party/mesa3d/src/compiler/nir/
Dnir_validate.c832 unsigned used_mask = 0; in validate_intrinsic_instr() local
840 validate_assert(state, (xfb_mask & used_mask) == 0); in validate_intrinsic_instr()
841 used_mask |= xfb_mask; in validate_intrinsic_instr()
/third_party/mesa3d/src/compiler/glsl/
Dlinker.cpp2630 find_available_slots(unsigned used_mask, unsigned needed_count) in find_available_slots() argument
2633 const int max_bit_to_test = (8 * sizeof(used_mask)) - needed_count; in find_available_slots()
2642 if ((needed_mask & ~used_mask) == needed_mask) in find_available_slots()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c273 int ip, unsigned index, unsigned used_mask) in ntt_live_reg_mark_use() argument
275 bs->use[index] |= used_mask & ~bs->def[index]; in ntt_live_reg_mark_use()
315 uint32_t used_mask = tgsi_util_get_src_usage_mask(insn->opcode, i, in ntt_live_reg_setup_def_use() local
325 ntt_live_reg_mark_use(c, bs, ip, index, used_mask); in ntt_live_reg_setup_def_use()