/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_pstipple.c | 83 uint num_samplers; member 198 uint num_samplers; in pstip_first_tri() local 212 num_samplers = MAX2(pstip->num_samplers, pstip->fs->sampler_unit + 1); in pstip_first_tri() 213 num_sampler_views = MAX2(pstip->num_sampler_views, num_samplers); in pstip_first_tri() 220 assert(num_samplers <= PIPE_MAX_SAMPLERS); in pstip_first_tri() 225 num_samplers, pstip->state.samplers); in pstip_first_tri() 253 pstip->num_samplers, in pstip_flush() 409 pstip->num_samplers = num; in pstip_bind_sampler_states()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 268 unsigned unit, num_samplers; in update_shader_samplers() local 281 num_samplers = util_last_bit(samplers_used); in update_shader_samplers() 342 num_samplers = MAX2(num_samplers, extra + 1); in update_shader_samplers() 345 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers() 348 *out_num_samplers = num_samplers; in update_shader_samplers()
|
/external/mesa3d/src/gallium/frontends/xa/ |
D | xa_composite.c | 456 int num_samplers = 0; in bind_samplers() local 480 num_samplers++; in bind_samplers() 495 samplers[num_samplers] = &mask_sampler; in bind_samplers() 501 ctx->bound_sampler_views[num_samplers] = src_view; in bind_samplers() 502 num_samplers++; in bind_samplers() 505 cso_set_samplers(ctx->cso, PIPE_SHADER_FRAGMENT, num_samplers, in bind_samplers() 507 cso_set_sampler_views(ctx->cso, PIPE_SHADER_FRAGMENT, num_samplers, in bind_samplers() 509 ctx->num_bound_samplers = num_samplers; in bind_samplers()
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_texture.c | 265 assert (lima_tex->num_samplers <= 16); in lima_update_textures() 268 if (!lima_tex->num_samplers || !lima_tex->num_textures) in lima_update_textures() 272 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures() 284 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures() 293 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
|
D | lima_program.c | 391 lima_tex->num_samplers && in lima_update_fs_state() 397 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_fs_state() 414 for (int i = lima_tex->num_samplers; i < PIPE_MAX_SAMPLERS; i++) in lima_update_fs_state()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_sampler.c | 399 const unsigned count = svga->curr.num_samplers[shader]; in update_samplers() 429 for (; i < svga->state.hw_draw.num_samplers[shader]; i++) { in update_samplers() 433 nsamplers = MAX2(svga->state.hw_draw.num_samplers[shader], count); in update_samplers() 435 if (count != svga->state.hw_draw.num_samplers[shader] || in update_samplers() 448 svga->state.hw_draw.num_samplers[shader] = count; in update_samplers()
|
D | svga_state_fs.c | 272 svga->curr.num_samplers[shader]); in make_fs_key() 276 svga->curr.num_samplers[shader]) { in make_fs_key() 280 svga->curr.num_samplers[shader]); in make_fs_key() 301 for (i = 0; i < svga->curr.num_samplers[shader]; ++i) { in make_fs_key()
|
D | svga_tgsi_decl_sm30.c | 565 for (i = 0; i < emit->num_samplers; i++) { in svga_shader_emit_samplers_decl() 590 emit->num_samplers = MAX2(emit->num_samplers, decl->Range.Last + 1); in svga_translate_decl_sm30()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.h | 107 for (unsigned i = 0; i < tex->num_samplers; i++) { in fd6_border_color_offset() 120 return ctx->tex[PIPE_SHADER_VERTEX].num_samplers; in fd6_border_color_offset()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv40_verttex.c | 63 for (; i < nv30->vertprog.num_samplers; i++) { in nv40_verttex_sampler_states_bind() 68 nv30->vertprog.num_samplers = nr; in nv40_verttex_sampler_states_bind()
|
D | nv30_context.h | 84 unsigned num_samplers; member 97 unsigned num_samplers; member
|
D | nv30_texture.c | 192 unsigned num_samplers, void **samplers) in nv30_bind_sampler_states() argument 196 nv40_verttex_sampler_states_bind(pipe, num_samplers, samplers); in nv30_bind_sampler_states() 199 nv30_fragtex_sampler_states_bind(pipe, num_samplers, samplers); in nv30_bind_sampler_states()
|
D | nv30_fragtex.c | 164 for (; i < nv30->fragprog.num_samplers; i++) { in nv30_fragtex_sampler_states_bind() 169 nv30->fragprog.num_samplers = nr; in nv30_fragtex_sampler_states_bind()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_tex.c | 354 assert(nv50->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_validate_tsc() 355 for (i = 0; i < nv50->num_samplers[s]; ++i) { in nv50_validate_tsc() 377 for (; i < nv50->state.num_samplers[s]; ++i) { in nv50_validate_tsc() 381 nv50->state.num_samplers[s] = nv50->num_samplers[s]; in nv50_validate_tsc()
|
D | nv50_state.c | 589 assert(nv50_context(pipe)->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_sampler_state_delete() 590 for (i = 0; i < nv50_context(pipe)->num_samplers[s]; ++i) in nv50_sampler_state_delete() 619 assert(nv50->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_stage_sampler_states_bind() 620 if (nr >= nv50->num_samplers[s]) in nv50_stage_sampler_states_bind() 621 nv50->num_samplers[s] = highest_found + 1; in nv50_stage_sampler_states_bind() 647 unsigned num_samplers, void **samplers) in nv50_bind_sampler_states() argument 652 nv50_vp_sampler_states_bind(pipe, num_samplers, samplers); in nv50_bind_sampler_states() 655 nv50_gp_sampler_states_bind(pipe, num_samplers, samplers); in nv50_bind_sampler_states() 658 nv50_fp_sampler_states_bind(pipe, num_samplers, samplers); in nv50_bind_sampler_states()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_sampler.c | 72 unsigned j = MAX2(softpipe->num_samplers[shader], start + num); in softpipe_bind_sampler_states() 75 softpipe->num_samplers[shader] = j; in softpipe_bind_sampler_states() 82 softpipe->num_samplers[shader]); in softpipe_bind_sampler_states()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_dynamic_indexing.c | 49 unsigned num_samplers; member 300 dc->num_iterations = dc->num_samplers; in dIndexing_inst() 347 transform.num_samplers = log2(samplers_declared_bitmask + 1); in tgsi_remove_dynamic_indexing()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 65 tex->num_samplers = util_last_bit(tex->valid_samplers); in bind_sampler_states() 136 for (i = 0; i < tex->num_samplers; i++) { in fd_setup_border_colors()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture.c | 45 unsigned start_slot, unsigned num_samplers, in etna_bind_sampler_states() argument 56 ctx->num_fragment_samplers = num_samplers; in etna_bind_sampler_states() 67 for (int idx = 0; idx < num_samplers; ++idx, mask <<= 1) { in etna_bind_sampler_states()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 151 if (tex->num_samplers > 0) { in emit_textures() 152 int num_samplers; in emit_textures() local 158 num_samplers = align(tex->num_samplers, 2); in emit_textures() 161 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (2 * num_samplers)); in emit_textures() 165 CP_LOAD_STATE4_0_NUM_UNIT(num_samplers)); in emit_textures() 168 for (i = 0; i < tex->num_samplers; i++) { in emit_textures() 179 for (; i < num_samplers; i++) { in emit_textures()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_texture.c | 140 if (nr != ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers) in fd2_sampler_states_bind() 249 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers; in fd2_get_const_idx()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 340 if (num == i915->num_samplers && in i915_bind_fragment_sampler_states() 350 unsigned j = MAX2(i915->num_samplers, start + num); in i915_bind_fragment_sampler_states() 353 i915->num_samplers = j; in i915_bind_fragment_sampler_states() 363 unsigned start, unsigned num_samplers, in i915_bind_sampler_states() argument 368 i915_bind_vertex_sampler_states(pipe, start, num_samplers, samplers); in i915_bind_sampler_states() 371 i915_bind_fragment_sampler_states(pipe, start, num_samplers, samplers); in i915_bind_sampler_states()
|
D | i915_state_sampler.c | 155 for (unit = 0; unit < i915->num_fragment_sampler_views && unit < i915->num_samplers; in update_samplers() 368 for (unit = 0; unit < i915->num_fragment_sampler_views && unit < i915->num_samplers; in update_maps()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 186 for (i = 0; i < tex->num_samplers; i++) { in setup_border_colors() 330 &entries[ctx->tex[PIPE_SHADER_VERTEX].num_samplers]); in emit_border_color() 343 unsigned bcolor_offset = (sb == SB4_FS_TEX) ? ctx->tex[PIPE_SHADER_VERTEX].num_samplers : 0; in emit_textures() 346 if (tex->num_samplers > 0) { in emit_textures() 348 OUT_PKT7(ring, CP_LOAD_STATE4, 3 + (4 * tex->num_samplers)); in emit_textures() 352 CP_LOAD_STATE4_0_NUM_UNIT(tex->num_samplers)); in emit_textures() 356 for (i = 0; i < tex->num_samplers; i++) { in emit_textures()
|
/external/mesa3d/src/freedreno/decode/ |
D | pgmdump.c | 52 uint32_t num_samplers; member 387 for (i = 0; i < state->hdr->num_samplers; i++) { in dump_short_summary() 688 printf("\tsamplers: %d\n", state->hdr->num_samplers); in dump_program() 746 for (i = 0; (i < state->hdr->num_samplers) && (state->sz > 0); i++) { in dump_program() 769 for (i = 0; (i < state->hdr->num_samplers) && (state->sz > 0); i++) { in dump_program()
|