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.c1993 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
1999 key->nr_sampler_views = key->nr_samplers; in draw_llvm_make_variant_key()
2029 MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler); in draw_llvm_make_variant_key()
2031 for (i = 0 ; i < key->nr_samplers; i++) { in draw_llvm_make_variant_key()
2457 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key()
2463 key->nr_sampler_views = key->nr_samplers; in draw_gs_llvm_make_variant_key()
2468 memset(draw_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler); in draw_gs_llvm_make_variant_key()
2470 for (i = 0 ; i < key->nr_samplers; i++) { in draw_gs_llvm_make_variant_key()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h74 unsigned nr_samplers:8; /* actually derivable from just the shader */ member
Dlp_state_fs.c2741 for (i = 0; i < key->nr_samplers; ++i) { in dump_fs_variant_key()
2903 int nr_samplers; in llvmpipe_create_fs_state() local
2927 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state()
2931 state[MAX2(nr_samplers, nr_sampler_views)]); in llvmpipe_create_fs_state()
3309 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
3311 for(i = 0; i < key->nr_samplers; ++i) { in make_variant_key()
3333 key->nr_sampler_views = key->nr_samplers; in make_variant_key()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.h61 unsigned nr_samplers; member
Dswr_shader.cpp82 key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1; in swr_generate_sampler_key()
84 for (unsigned i = 0; i < key.nr_samplers; i++) { in swr_generate_sampler_key()
117 key.nr_sampler_views = key.nr_samplers; in swr_generate_sampler_key()
Dswr_state.cpp1412 key.nr_samplers, in swr_update_derived()
1453 key.nr_samplers, in swr_update_derived()
1542 key.nr_samplers, in swr_update_derived()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c144 unsigned nr_samplers; member
600 for (i = 0; i < ureg->nr_samplers; i++) in ureg_DECL_sampler()
606 ureg->nr_samplers++; in ureg_DECL_sampler()
1394 for (i = 0; i < ureg->nr_samplers; i++) { in emit_decls()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c158 unsigned nr_samplers; member
716 for (i = 0; i < ureg->nr_samplers; i++) in ureg_DECL_sampler()
722 ureg->nr_samplers++; in ureg_DECL_sampler()
1926 for (i = 0; i < ureg->nr_samplers; i++) { in emit_decls()