/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_cs.h | 42 unsigned nr_samplers:8; member 55 lp_cs_variant_key_size(unsigned nr_samplers, unsigned nr_images) in lp_cs_variant_key_size() argument 57 unsigned samplers = nr_samplers > 1 ? (nr_samplers - 1) : 0; in lp_cs_variant_key_size() 67 &key->samplers[key->nr_samplers]; in lp_cs_variant_key_images()
|
D | lp_state_fs.h | 79 unsigned nr_samplers:8; /* actually derivable from just the shader */ member 107 lp_fs_variant_key_size(unsigned nr_samplers, unsigned nr_images) in lp_fs_variant_key_size() argument 109 unsigned samplers = nr_samplers > 1 ? (nr_samplers - 1) : 0; in lp_fs_variant_key_size() 119 &key->samplers[key->nr_samplers]; in lp_fs_variant_key_images()
|
D | lp_tex_sample.c | 79 unsigned nr_samplers; member 385 0, sampler->nr_samplers); in lp_llvm_sampler_soa_emit_fetch_texel() 387 for (unsigned i = 0; i < sampler->nr_samplers; i++) { in lp_llvm_sampler_soa_emit_fetch_texel() 423 unsigned nr_samplers) in lp_llvm_sampler_soa_create() argument 456 sampler->nr_samplers = nr_samplers; in lp_llvm_sampler_soa_create()
|
D | lp_tex_sample.h | 49 unsigned nr_samplers);
|
D | lp_state_cs.c | 178 sampler = lp_llvm_sampler_soa_create(key->samplers, key->nr_samplers); in generate_compute() 432 int nr_samplers, nr_sampler_views; in llvmpipe_create_compute_state() local 467 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_compute_state() 470 … shader->variant_key_size = lp_cs_variant_key_size(MAX2(nr_samplers, nr_sampler_views), nr_images); in llvmpipe_create_compute_state() 558 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key() 563 for(i = 0; i < key->nr_samplers; ++i) { in make_variant_key() 590 key->nr_sampler_views = key->nr_samplers; in make_variant_key() 617 for (i = 0; i < key->nr_samplers; ++i) { in dump_cs_variant_key()
|
D | lp_state_fs.c | 3108 sampler = lp_llvm_sampler_soa_create(key->samplers, key->nr_samplers); in generate_fragment() 3381 for (i = 0; i < key->nr_samplers; ++i) { in dump_fs_variant_key() 3595 int nr_samplers; in llvmpipe_create_fs_state() local 3627 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state() 3630 … shader->variant_key_size = lp_fs_variant_key_size(MAX2(nr_samplers, nr_sampler_views), nr_images); in llvmpipe_create_fs_state() 4096 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key() 4102 memset(fs_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *fs_sampler); in make_variant_key() 4104 for(i = 0; i < key->nr_samplers; ++i) { in make_variant_key() 4131 key->nr_sampler_views = key->nr_samplers; in make_variant_key()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.h | 470 unsigned nr_samplers:8; member 498 unsigned nr_samplers:8; member 510 unsigned nr_samplers:8; member 519 unsigned nr_samplers:8; member 550 unsigned nr_samplers, unsigned nr_images) in draw_llvm_variant_key_size() argument 553 nr_samplers * sizeof(struct draw_sampler_static_state) + in draw_llvm_variant_key_size() 560 draw_gs_llvm_variant_key_size(unsigned nr_samplers, unsigned nr_images) in draw_gs_llvm_variant_key_size() argument 564 (nr_samplers - 1) * sizeof(struct draw_sampler_static_state)); in draw_gs_llvm_variant_key_size() 568 draw_tcs_llvm_variant_key_size(unsigned nr_samplers, unsigned nr_images) in draw_tcs_llvm_variant_key_size() argument 572 (nr_samplers - 1) * sizeof(struct draw_sampler_static_state)); in draw_tcs_llvm_variant_key_size() [all …]
|
D | draw_llvm_sample.c | 74 unsigned nr_samplers; member 344 0, sampler->nr_samplers); in draw_llvm_sampler_soa_emit_fetch_texel() 346 for (unsigned i = 0; i < sampler->nr_samplers; i++) { in draw_llvm_sampler_soa_emit_fetch_texel() 382 unsigned nr_samplers) in draw_llvm_sampler_soa_create() argument 410 sampler->nr_samplers = nr_samplers; in draw_llvm_sampler_soa_create()
|
D | draw_llvm.c | 2040 sampler = draw_llvm_sampler_soa_create(draw_llvm_variant_key_samplers(key), key->nr_samplers); in draw_llvm_generate() 2379 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key() 2385 key->nr_sampler_views = key->nr_samplers; in draw_llvm_make_variant_key() 2417 MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler); in draw_llvm_make_variant_key() 2419 for (i = 0 ; i < key->nr_samplers; i++) { in draw_llvm_make_variant_key() 2830 sampler = draw_llvm_sampler_soa_create(variant->key.samplers, variant->key.nr_samplers); in draw_gs_llvm_generate() 2993 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key() 2999 key->nr_sampler_views = key->nr_samplers; in draw_gs_llvm_make_variant_key() 3006 memset(draw_sampler, 0, MAX2(key->nr_samplers, key->nr_sampler_views) * sizeof *draw_sampler); in draw_gs_llvm_make_variant_key() 3008 for (i = 0 ; i < key->nr_samplers; i++) { in draw_gs_llvm_make_variant_key() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_shader.h | 83 unsigned nr_samplers; member
|
D | swr_state.cpp | 1555 key.nr_samplers, in swr_update_derived() 1614 key.nr_samplers, in swr_update_derived() 1660 key.nr_samplers, in swr_update_derived() 1697 ctx, PIPE_SHADER_VERTEX, key.nr_samplers, ctx->swrDC.samplersVS); in swr_update_derived() 1787 key.nr_samplers, in swr_update_derived()
|
D | swr_shader.cpp | 132 key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1; in swr_generate_sampler_key() 134 for (unsigned i = 0; i < key.nr_samplers; i++) { in swr_generate_sampler_key() 167 key.nr_sampler_views = key.nr_samplers; in swr_generate_sampler_key()
|
/external/mesa3d/docs/relnotes/ |
D | 12.0.6.rst | 114 - cso: Don't restore nr_samplers in cso_restore_fragment_samplers
|
D | 13.0.4.rst | 186 - cso: Don't restore nr_samplers in cso_restore_fragment_samplers
|
D | 7.10.rst | 1938 - llvmpipe: make debug_fs_variant respect variant->nr_samplers
|
D | 20.2.0.rst | 1466 - draw: pass nr_samplers into llvm sample state creation.
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 154 unsigned nr_samplers; member 636 for (i = 0; i < ureg->nr_samplers; i++) in ureg_DECL_sampler() 642 ureg->nr_samplers++; in ureg_DECL_sampler() 1459 for (i = 0; i < ureg->nr_samplers; i++) { in emit_decls()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 162 unsigned nr_samplers; member 727 for (i = 0; i < ureg->nr_samplers; i++) in ureg_DECL_sampler() 733 ureg->nr_samplers++; in ureg_DECL_sampler() 1942 for (i = 0; i < ureg->nr_samplers; i++) { in emit_decls()
|