Home
last modified time | relevance | path

Searched refs:BITSET_LAST_BIT (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c852 BITSET_LAST_BIT(ctx->FragmentProgram._Current->info.textures_used); in brw_prepare_drawing()
854 BITSET_LAST_BIT(ctx->GeometryProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()
856 BITSET_LAST_BIT(ctx->TessEvalProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()
858 BITSET_LAST_BIT(ctx->TessCtrlProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()
860 BITSET_LAST_BIT(ctx->VertexProgram._Current->info.textures_used); in brw_prepare_drawing()
Dbrw_wm_surface_state.c1186 unsigned num_samplers = BITSET_LAST_BIT(prog->info.textures_used); in update_stage_texture_surfaces()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c306 info->sampler_count = info->texture_count = BITSET_LAST_BIT(s->info.textures_used); in GENX()
/third_party/mesa3d/src/util/
Dbitset.h289 #define BITSET_LAST_BIT(x) __bitset_last_bit(x, ARRAY_SIZE(x)) macro
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c839 bt->sizes[CROCUS_SURFACE_GROUP_TEXTURE] = BITSET_LAST_BIT(info->textures_used); in crocus_setup_binding_table()
843 bt->sizes[CROCUS_SURFACE_GROUP_TEXTURE_GATHER] = BITSET_LAST_BIT(info->textures_used); in crocus_setup_binding_table()
2992 if ((old_info ? BITSET_LAST_BIT(old_info->textures_used) : 0) != in bind_shader_state()
2993 (new_info ? BITSET_LAST_BIT(new_info->textures_used) : 0)) { in bind_shader_state()
Dcrocus_state.c2604 unsigned count = info ? BITSET_LAST_BIT(info->textures_used) : 0; in crocus_upload_sampler_states()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c804 info->file_max[TGSI_FILE_SAMPLER_VIEW] = BITSET_LAST_BIT(nir->info.textures_used) - 1; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c909 bt->sizes[IRIS_SURFACE_GROUP_TEXTURE] = BITSET_LAST_BIT(info->textures_used); in iris_setup_binding_table()
2775 if ((old_info ? BITSET_LAST_BIT(old_info->textures_used) : 0) != in bind_shader_state()
2776 (new_info ? BITSET_LAST_BIT(new_info->textures_used) : 0)) { in bind_shader_state()
Diris_state.c2110 unsigned count = info ? BITSET_LAST_BIT(info->textures_used) : 0; in iris_upload_sampler_states()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c826 ctx->num_samplers = BITSET_LAST_BIT(info->base.textures_used); in si_llvm_translate_nir()
Dsi_state_shaders.c2788 num_samplers = BITSET_LAST_BIT(info->base.textures_used); in si_get_active_slot_masks()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c3795 BITSET_LAST_BIT(ctx->s->info.textures_used) + ctx->s->info.num_images; in emit_instructions()
/third_party/mesa3d/docs/relnotes/
D20.2.0.rst4569 - util: add BITSET_LAST_BIT() helper
D21.1.0.rst1553 - util/panfrost/glsl: rename BITSET_LAST_BIT to BITSET_LAST_BIT_SIZED