Searched refs:BITSET_LAST_BIT (Results 1 – 14 of 14) sorted by relevance
852 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()
1186 unsigned num_samplers = BITSET_LAST_BIT(prog->info.textures_used); in update_stage_texture_surfaces()
306 info->sampler_count = info->texture_count = BITSET_LAST_BIT(s->info.textures_used); in GENX()
289 #define BITSET_LAST_BIT(x) __bitset_last_bit(x, ARRAY_SIZE(x)) macro
839 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()
2604 unsigned count = info ? BITSET_LAST_BIT(info->textures_used) : 0; in crocus_upload_sampler_states()
804 info->file_max[TGSI_FILE_SAMPLER_VIEW] = BITSET_LAST_BIT(nir->info.textures_used) - 1; in nir_tgsi_scan_shader()
909 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()
2110 unsigned count = info ? BITSET_LAST_BIT(info->textures_used) : 0; in iris_upload_sampler_states()
826 ctx->num_samplers = BITSET_LAST_BIT(info->base.textures_used); in si_llvm_translate_nir()
2788 num_samplers = BITSET_LAST_BIT(info->base.textures_used); in si_get_active_slot_masks()
3795 BITSET_LAST_BIT(ctx->s->info.textures_used) + ctx->s->info.num_images; in emit_instructions()
4569 - util: add BITSET_LAST_BIT() helper
1553 - util/panfrost/glsl: rename BITSET_LAST_BIT to BITSET_LAST_BIT_SIZED