Searched refs:textures_used (Results 1 – 24 of 24) sorted by relevance
164 uint32_t textures_used; member
854 util_last_bit(ctx->FragmentProgram._Current->info.textures_used); in brw_prepare_drawing()856 util_last_bit(ctx->GeometryProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()858 util_last_bit(ctx->TessEvalProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()860 util_last_bit(ctx->TessCtrlProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()862 util_last_bit(ctx->VertexProgram._Current->info.textures_used); in brw_prepare_drawing()
186 prog->info.textures_used = prog->nir->info.textures_used; in brw_nir_lower_resources()
1176 unsigned num_samplers = util_last_bit(prog->info.textures_used); in update_stage_texture_surfaces()1180 if (prog->info.textures_used & (1 << s)) { in update_stage_texture_surfaces()
132 state->shader->info.textures_used |= 1u << tex->texture_index; in lower_tex_src_plane_block()
922 prog->info.textures_used = nir->info.textures_used; in st_nir_lower_samplers()
235 info->textures_used |= mask; in record_textures_used()
157 b->shader->info.textures_used |= (1 << tex_value); in lower_vri_instr_tex()
804 info->file_max[TGSI_FILE_SAMPLER_VIEW] = util_last_bit(nir->info.textures_used) - 1; in nir_tgsi_scan_shader()806 info->file_mask[TGSI_FILE_SAMPLER_VIEW] = nir->info.textures_used; in nir_tgsi_scan_shader()
139 shader->info.textures_used |= (1 << binding); in nir_lower_pstipple_fs()
280 if (c->s->info.textures_used & (1 << i)) in ntt_setup_uniforms()
1268 c->build.shader->info.textures_used |= mask; in get_sampler_var()
829 bt->sizes[IRIS_SURFACE_GROUP_TEXTURE] = util_last_bit(info->textures_used); in iris_setup_binding_table()830 bt->used_mask[IRIS_SURFACE_GROUP_TEXTURE] = info->textures_used; in iris_setup_binding_table()2512 if ((old_info ? util_last_bit(old_info->textures_used) : 0) != in bind_shader_state()2513 (new_info ? util_last_bit(new_info->textures_used) : 0)) { in bind_shader_state()
92 uint32_t views = info ? (shs->bound_sampler_views & info->textures_used) : 0; in resolve_sampler_views()
2050 unsigned count = info ? util_last_bit(info->textures_used) : 0; in iris_upload_sampler_states()
114 shader->info.textures_used = (1 << num_rd_images) - 1; in clover_nir_lower_images()
354 b->shader->info.textures_used |= in build_bindless()
1710 if (vs->info.base.textures_used) { in si_all_vs_resources_read_only()1711 unsigned num_samplers = util_last_bit(vs->info.base.textures_used); in si_all_vs_resources_read_only()
794 enabled_samplers = info->base.textures_used; in si_dump_descriptors()
2730 current_shader[i]->cso->info.base.textures_used); in si_gfx_resources_check_encrypted()2810 si_sampler_views_check_encrypted(sctx, &sctx->samplers[sh], info->base.textures_used) || in si_compute_resources_check_encrypted()
1337 ctx->num_samplers = util_last_bit(info->base.textures_used); in si_build_main_function()
2603 num_samplers = util_last_bit(info->base.textures_used); in si_get_active_slot_masks()
3340 ctx->so->num_samp = util_last_bit(ctx->s->info.textures_used) + ctx->s->info.num_images; in emit_instructions()
2532 - i965: Use info->textures_used instead of prog->SamplersUsed.