/third_party/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() 254 pstip->num_samplers, in pstip_flush() 410 pstip->num_samplers = num; in pstip_bind_sampler_states()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 181 unsigned unit, num_samplers; in update_shader_samplers() local 194 num_samplers = util_last_bit(samplers_used); in update_shader_samplers() 265 num_samplers = MAX2(num_samplers, extra + 1); in update_shader_samplers() 268 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers() 271 *out_num_samplers = num_samplers; in update_shader_samplers()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_texture.c | 262 assert (lima_tex->num_samplers <= 16); in lima_update_textures() 265 if (!lima_tex->num_samplers || !lima_tex->num_textures) in lima_update_textures() 269 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures() 281 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures() 290 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
|
/third_party/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 pipe->set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0, num_samplers, 0, in bind_samplers() 509 ctx->num_bound_samplers = num_samplers; in bind_samplers()
|
/third_party/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()
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.h | 116 for (unsigned i = 0; i < tex->num_samplers; i++) { in fd6_border_color_offset() 129 return ctx->tex[PIPE_SHADER_VERTEX].num_samplers; in fd6_border_color_offset()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_tex.c | 381 assert(nv50->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_validate_tsc() 382 for (i = 0; i < nv50->num_samplers[s]; ++i) { in nv50_validate_tsc() 410 for (; i < nv50->state.num_samplers[s]; ++i) { in nv50_validate_tsc() 417 nv50->state.num_samplers[s] = nv50->num_samplers[s]; in nv50_validate_tsc()
|
/third_party/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()
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 66 tex->num_samplers = util_last_bit(tex->valid_samplers); in bind_sampler_states() 143 for (i = 0; i < tex->num_samplers; i++) { in fd_setup_border_colors()
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_texture.c | 137 if (nr != ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers) in fd2_sampler_states_bind() 242 return samp_id + ctx->tex[PIPE_SHADER_FRAGMENT].num_samplers; in fd2_get_const_idx()
|
/third_party/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()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_descriptor_set.c | 152 set_layout->num_samplers = sampler_idx; in panvk_CreateDescriptorSetLayout() 285 sampler_idx += set_layout->num_samplers; in panvk_CreatePipelineLayout() 309 layout->num_samplers = sampler_idx; in panvk_CreatePipelineLayout()
|
D | panvk_vX_cmd_buffer.c | 414 unsigned num_samplers = pipeline->layout->num_samplers; in panvk_cmd_prepare_samplers() local 416 if (!num_samplers || desc_state->samplers) in panvk_cmd_prepare_samplers() 421 num_samplers, in panvk_cmd_prepare_samplers() 431 desc_state->sets[i].set->layout->num_samplers * in panvk_cmd_prepare_samplers() 434 sampler += desc_state->sets[i].set->layout->num_samplers; in panvk_cmd_prepare_samplers()
|
/third_party/mesa3d/src/freedreno/decode/ |
D | pgmdump.c | 52 uint32_t num_samplers; member 402 for (i = 0; i < state->hdr->num_samplers; i++) { in dump_short_summary() 713 printf("\tsamplers: %d\n", state->hdr->num_samplers); in dump_program() 771 for (i = 0; (i < state->hdr->num_samplers) && (state->sz > 0); i++) { in dump_program() 793 for (i = 0; (i < state->hdr->num_samplers) && (state->sz > 0); i++) { in dump_program()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 191 for (i = 0; i < tex->num_samplers; i++) { in setup_border_colors() 333 &entries[ctx->tex[PIPE_SHADER_VERTEX].num_samplers]); in emit_border_color() 348 (sb == SB4_FS_TEX) ? ctx->tex[PIPE_SHADER_VERTEX].num_samplers : 0; in emit_textures() 351 if (tex->num_samplers > 0) { in emit_textures() 353 OUT_PKT7(ring, CP_LOAD_STATE4, 3 + (4 * tex->num_samplers)); in emit_textures() 357 CP_LOAD_STATE4_0_NUM_UNIT(tex->num_samplers)); in emit_textures() 361 for (i = 0; i < tex->num_samplers; i++) { in emit_textures()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.h | 68 size_t num_samplers; member
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_context.h | 94 unsigned num_samplers[PIPE_SHADER_TYPES]; member
|