Searched refs:nr_samplers (Results 1 - 25 of 25) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.h49 unsigned nr_samplers);
H A Dlp_state_cs.h42 unsigned nr_samplers:8; member in struct:lp_compute_shader_variant_key
53 lp_cs_variant_key_size(unsigned nr_samplers, unsigned nr_images) argument
56 nr_samplers * sizeof(struct lp_sampler_static_state) +
70 &(lp_cs_variant_key_samplers(key)[key->nr_samplers]);
H A Dlp_state_fs.h97 unsigned nr_samplers:8; /* actually derivable from just the shader */ member in struct:lp_fragment_shader_variant_key
123 lp_fs_variant_key_size(unsigned nr_samplers, unsigned nr_images) argument
126 nr_samplers * sizeof(struct lp_sampler_static_state) +
139 if (idx >= key->nr_samplers)
148 &(lp_fs_variant_key_samplers(key)[key->nr_samplers]);
H A Dlp_tex_sample.c79 unsigned nr_samplers; member in struct:lp_llvm_sampler_soa
386 0, sampler->nr_samplers);
388 for (unsigned i = 0; i < sampler->nr_samplers; i++) {
424 unsigned nr_samplers)
458 sampler->nr_samplers = nr_samplers;
423 lp_llvm_sampler_soa_create(const struct lp_sampler_static_state * static_state,unsigned nr_samplers) argument
H A Dlp_state_cs.c182 sampler = lp_llvm_sampler_soa_create(lp_cs_variant_key_samplers(key), key->nr_samplers);
458 int nr_samplers, nr_sampler_views; local in function:llvmpipe_create_compute_state
494 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1;
497 shader->variant_key_size = lp_cs_variant_key_size(MAX2(nr_samplers, nr_sampler_views), nr_images);
585 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1;
591 memset(cs_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *cs_sampler);
592 for(i = 0; i < key->nr_samplers; ++i) {
619 key->nr_sampler_views = key->nr_samplers;
646 for (i = 0; i < key->nr_samplers; ++i) {
H A Dlp_state_fs.c3173 sampler = lp_llvm_sampler_soa_create(lp_fs_variant_key_samplers(key), key->nr_samplers);
3446 for (i = 0; i < key->nr_samplers; ++i) {
3800 int nr_samplers; local in function:llvmpipe_create_fs_state
3832 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1;
3835 shader->variant_key_size = lp_fs_variant_key_size(MAX2(nr_samplers, nr_sampler_views), nr_images);
4297 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1;
4303 memset(fs_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *fs_sampler);
4305 for(i = 0; i < key->nr_samplers; ++i) {
4332 key->nr_sampler_views = key->nr_samplers;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.h497 unsigned nr_samplers:8; member in struct:draw_llvm_variant_key
525 unsigned nr_samplers:8; member in struct:draw_gs_llvm_variant_key
537 unsigned nr_samplers:8; member in struct:draw_tcs_llvm_variant_key
546 unsigned nr_samplers:8; member in struct:draw_tes_llvm_variant_key
580 unsigned nr_samplers, unsigned nr_images)
583 nr_samplers * sizeof(struct draw_sampler_static_state) +
590 draw_gs_llvm_variant_key_size(unsigned nr_samplers, unsigned nr_images) argument
594 (nr_samplers - 1) * sizeof(struct draw_sampler_static_state));
598 draw_tcs_llvm_variant_key_size(unsigned nr_samplers, unsigned nr_images) argument
602 (nr_samplers
579 draw_llvm_variant_key_size(unsigned nr_vertex_elements,unsigned nr_samplers,unsigned nr_images) argument
606 draw_tes_llvm_variant_key_size(unsigned nr_samplers,unsigned nr_images) argument
[all...]
H A Ddraw_llvm_sample.c74 unsigned nr_samplers; member in struct:draw_llvm_sampler_soa
345 0, sampler->nr_samplers);
347 for (unsigned i = 0; i < sampler->nr_samplers; i++) {
383 unsigned nr_samplers)
412 sampler->nr_samplers = nr_samplers;
382 draw_llvm_sampler_soa_create(const struct draw_sampler_static_state * static_state,unsigned nr_samplers) argument
H A Ddraw_llvm.c2069 sampler = draw_llvm_sampler_soa_create(draw_llvm_variant_key_samplers(key), key->nr_samplers);
2410 * nr_samplers. Not yet trying to compact away holes in the
2413 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1;
2419 key->nr_sampler_views = key->nr_samplers;
2451 MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler);
2453 for (i = 0 ; i < key->nr_samplers; i++) {
2871 sampler = draw_llvm_sampler_soa_create(variant->key.samplers, variant->key.nr_samplers);
3034 * nr_samplers. Not yet trying to compact away holes in the
3037 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1;
3043 key->nr_sampler_views = key->nr_samplers;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.h290 unsigned nr_samplers:8; member in struct:draw_llvm_variant_key
315 unsigned nr_samplers:8; member in struct:draw_gs_llvm_variant_key
335 unsigned nr_samplers)
338 nr_samplers * sizeof(struct draw_sampler_static_state) +
344 draw_gs_llvm_variant_key_size(unsigned nr_samplers) argument
347 (nr_samplers - 1) * sizeof(struct draw_sampler_static_state));
334 draw_llvm_variant_key_size(unsigned nr_vertex_elements,unsigned nr_samplers) argument
H A Ddraw_llvm.c1990 * nr_samplers. Not yet trying to compact away holes in the
1993 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1;
1999 key->nr_sampler_views = key->nr_samplers;
2029 MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler);
2031 for (i = 0 ; i < key->nr_samplers; i++) {
2454 * nr_samplers. Not yet trying to compact away holes in the
2457 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1;
2463 key->nr_sampler_views = key->nr_samplers;
2468 memset(draw_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler);
2470 for (i = 0 ; i < key->nr_samplers;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.h74 unsigned nr_samplers:8; /* actually derivable from just the shader */ member in struct:lp_fragment_shader_variant_key
H A Dlp_state_fs.c2760 for (i = 0; i < key->nr_samplers; ++i) {
2915 int nr_samplers; local in function:llvmpipe_create_fs_state
2939 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1;
2943 state[MAX2(nr_samplers, nr_sampler_views)]);
3321 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1;
3323 for(i = 0; i < key->nr_samplers; ++i) {
3350 key->nr_sampler_views = key->nr_samplers;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_shader.h61 unsigned nr_samplers; member in struct:swr_jit_sampler_key
H A Dswr_shader.cpp84 key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1;
86 for (unsigned i = 0; i < key.nr_samplers; i++) {
119 key.nr_sampler_views = key.nr_samplers;
H A Dswr_state.cpp1408 key.nr_samplers,
1449 key.nr_samplers,
1538 key.nr_samplers,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_shader.h83 unsigned nr_samplers; member in struct:swr_jit_sampler_key
H A Dswr_state.cpp1575 key.nr_samplers,
1634 key.nr_samplers,
1680 key.nr_samplers,
1717 ctx, PIPE_SHADER_VERTEX, key.nr_samplers, ctx->swrDC.samplersVS);
1807 key.nr_samplers,
H A Dswr_shader.cpp132 key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1;
134 for (unsigned i = 0; i < key.nr_samplers; i++) {
167 key.nr_sampler_views = key.nr_samplers;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D12.0.6.rst114 - cso: Don't restore nr_samplers in cso_restore_fragment_samplers
H A D13.0.4.rst186 - cso: Don't restore nr_samplers in cso_restore_fragment_samplers
H A D7.10.rst1938 - llvmpipe: make debug_fs_variant respect variant->nr_samplers
H A D20.2.0.rst1466 - draw: pass nr_samplers into llvm sample state creation.
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_ureg.c159 unsigned nr_samplers; member in struct:ureg_program
724 for (i = 0; i < ureg->nr_samplers; i++)
730 ureg->nr_samplers++;
1939 for (i = 0; i < ureg->nr_samplers; i++) {
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_ureg.c161 unsigned nr_samplers; member in struct:ureg_program
722 for (i = 0; i < ureg->nr_samplers; i++)
728 ureg->nr_samplers++;
1958 for (i = 0; i < ureg->nr_samplers; i++) {

Completed in 62 milliseconds