Home
last modified time | relevance | path

Searched refs:textures_used (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/compiler/
Dshader_info.h164 uint32_t textures_used; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c854 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()
Dbrw_program.c186 prog->info.textures_used = prog->nir->info.textures_used; in brw_nir_lower_resources()
Dbrw_wm_surface_state.c1176 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c132 state->shader->info.textures_used |= 1u << tex->texture_index; in lower_tex_src_plane_block()
Dst_glsl_to_nir.cpp922 prog->info.textures_used = nir->info.textures_used; in st_nir_lower_samplers()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c235 info->textures_used |= mask; in record_textures_used()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c157 b->shader->info.textures_used |= (1 << tex_value); in lower_vri_instr_tex()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c804 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()
Dnir_draw_helpers.c139 shader->info.textures_used |= (1 << binding); in nir_lower_pstipple_fs()
Dnir_to_tgsi.c280 if (c->s->info.textures_used & (1 << i)) in ntt_setup_uniforms()
Dtgsi_to_nir.c1268 c->build.shader->info.textures_used |= mask; in get_sampler_var()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c829 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()
Diris_resolve.c92 uint32_t views = info ? (shs->bound_sampler_views & info->textures_used) : 0; in resolve_sampler_views()
Diris_state.c2050 unsigned count = info ? util_last_bit(info->textures_used) : 0; in iris_upload_sampler_states()
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp114 shader->info.textures_used = (1 << num_rd_images) - 1; in clover_nir_lower_images()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c354 b->shader->info.textures_used |= in build_bindless()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c1710 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()
Dsi_debug.c794 enabled_samplers = info->base.textures_used; in si_dump_descriptors()
Dsi_descriptors.c2730 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()
Dsi_shader.c1337 ctx->num_samplers = util_last_bit(info->base.textures_used); in si_build_main_function()
Dsi_state_shaders.c2603 num_samplers = util_last_bit(info->base.textures_used); in si_get_active_slot_masks()
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c3340 ctx->so->num_samp = util_last_bit(ctx->s->info.textures_used) + ctx->s->info.num_images; in emit_instructions()
/external/mesa3d/docs/relnotes/
D19.1.0.rst2532 - i965: Use info->textures_used instead of prog->SamplersUsed.