Home
last modified time | relevance | path

Searched refs:nr_samplers (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h290 unsigned nr_samplers:8; member
315 unsigned nr_samplers:8; member
335 unsigned nr_samplers) in draw_llvm_variant_key_size() argument
338 nr_samplers * sizeof(struct draw_sampler_static_state) + in draw_llvm_variant_key_size()
344 draw_gs_llvm_variant_key_size(unsigned nr_samplers) in draw_gs_llvm_variant_key_size() argument
347 (nr_samplers - 1) * sizeof(struct draw_sampler_static_state)); in draw_gs_llvm_variant_key_size()
Ddraw_llvm.c1989 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
1995 key->nr_sampler_views = key->nr_samplers; in draw_llvm_make_variant_key()
2025 MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler); in draw_llvm_make_variant_key()
2027 for (i = 0 ; i < key->nr_samplers; i++) { in draw_llvm_make_variant_key()
2443 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key()
2449 key->nr_sampler_views = key->nr_samplers; in draw_gs_llvm_make_variant_key()
2454 memset(draw_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler); in draw_gs_llvm_make_variant_key()
2456 for (i = 0 ; i < key->nr_samplers; i++) { in draw_gs_llvm_make_variant_key()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c60 unsigned nr_samplers; member
243 for (j = 0; j < ctx->samplers[i].nr_samplers; j++) { in sanitize_hash()
1258 const unsigned old_nr_samplers = info->nr_samplers; in cso_single_sampler_done()
1267 info->nr_samplers = i; in cso_single_sampler_done()
1269 MAX2(old_nr_samplers, info->nr_samplers), in cso_single_sampler_done()
1295 for ( ; i < info->nr_samplers; i++) { in cso_set_samplers()
1312 saved->nr_samplers = info->nr_samplers; in cso_save_fragment_samplers()
1313 memcpy(saved->cso_samplers, info->cso_samplers, info->nr_samplers * in cso_save_fragment_samplers()
1315 memcpy(saved->samplers, info->samplers, info->nr_samplers * in cso_save_fragment_samplers()
1325 int delta = (int)info->nr_samplers - saved->nr_samplers; in cso_restore_fragment_samplers()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.h46 unsigned nr_samplers; member
Dswr_shader.cpp70 key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1; in swr_generate_sampler_key()
72 for (unsigned i = 0; i < key.nr_samplers; i++) { in swr_generate_sampler_key()
105 key.nr_sampler_views = key.nr_samplers; in swr_generate_sampler_key()
Dswr_state.cpp1219 key.nr_samplers, in swr_update_derived()
1289 key.nr_samplers, in swr_update_derived()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h74 unsigned nr_samplers:8; /* actually derivable from just the shader */ member
Dlp_state_fs.c2720 for (i = 0; i < key->nr_samplers; ++i) { in dump_fs_variant_key()
2881 int nr_samplers; in llvmpipe_create_fs_state() local
2905 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state()
2909 state[MAX2(nr_samplers, nr_sampler_views)]); in llvmpipe_create_fs_state()
3288 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
3290 for(i = 0; i < key->nr_samplers; ++i) { in make_variant_key()
3312 key->nr_sampler_views = key->nr_samplers; in make_variant_key()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c150 unsigned nr_samplers; member
694 for (i = 0; i < ureg->nr_samplers; i++) in ureg_DECL_sampler()
700 ureg->nr_samplers++; in ureg_DECL_sampler()
1955 for (i = 0; i < ureg->nr_samplers; i++) { in emit_decls()