/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 | 185 unsigned unit, num_samplers; in update_shader_samplers() local 198 num_samplers = util_last_bit(samplers_used); in update_shader_samplers() 269 num_samplers = MAX2(num_samplers, extra + 1); in update_shader_samplers() 272 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers() 275 *out_num_samplers = num_samplers; in update_shader_samplers()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_sampler.c | 400 const unsigned count = svga->curr.num_samplers[shader]; in update_samplers() 466 for (i = nsamplers; i < svga->state.hw_draw.num_samplers[shader]; i++) { in update_samplers() 471 MAX2(nsamplers, svga->state.hw_draw.num_samplers[shader]); in update_samplers() 480 if (nsamplers != svga->state.hw_draw.num_samplers[shader] || in update_samplers() 494 svga->state.hw_draw.num_samplers[shader] = nsamplers; in update_samplers() 524 svga->state.hw_draw.num_samplers[PIPE_SHADER_FRAGMENT]++; in update_samplers() 666 const unsigned count = svga->curr.num_samplers[shader]; in update_cs_samplers() 681 for (; i < svga->state.hw_draw.num_samplers[shader]; i++) { in update_cs_samplers() 685 nsamplers = MAX2(svga->state.hw_draw.num_samplers[shader], count); in update_cs_samplers() 687 if (count != svga->state.hw_draw.num_samplers[shader] || in update_cs_samplers() [all …]
|
D | svga_state_fs.c | 211 svga->curr.num_samplers[shader]); in make_fs_key() 215 svga->curr.num_samplers[shader]) { in make_fs_key() 219 svga->curr.num_samplers[shader]); in make_fs_key() 240 for (i = 0; i < svga->curr.num_samplers[shader]; ++i) { in make_fs_key()
|
D | svga_shader.c | 289 svga->curr.num_samplers[shader_type]); in svga_init_shader_key_common() 291 key->num_samplers = 0; in svga_init_shader_key_common() 298 svga_use_sampler_state_mapping(svga, svga->curr.num_samplers[shader_type]); in svga_init_shader_key_common() 423 key->num_samplers = i + 1; in svga_init_shader_key_common() 449 MIN2(key->num_samplers, SVGA3D_DX_MAX_SAMPLERS-1); in svga_init_shader_key_common() 452 key->num_samplers = next_index + 1; in svga_init_shader_key_common() 456 key->num_samplers++; in svga_init_shader_key_common()
|
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/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/lima/ |
D | lima_texture.c | 292 assert (lima_tex->num_samplers <= 16); in lima_update_textures() 295 if (!lima_tex->num_samplers || !lima_tex->num_textures) in lima_update_textures() 299 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures() 313 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures() 322 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.h | 94 for (unsigned i = 0; i < tex->num_samplers; i++) { in fd6_border_color_offset() 107 return ctx->tex[PIPE_SHADER_VERTEX].num_samplers; in fd6_border_color_offset()
|
/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/a4xx/ |
D | fd4_emit.c | 161 if (tex->num_samplers > 0 || tex->num_textures > 0) { in emit_textures() 162 int num_samplers = tex->num_samplers; in emit_textures() local 168 if (num_samplers == 0) in emit_textures() 169 num_samplers++; in emit_textures() 175 num_samplers = align(num_samplers, 2); in emit_textures() 178 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + (2 * num_samplers)); in emit_textures() 182 CP_LOAD_STATE4_0_NUM_UNIT(num_samplers)); in emit_textures() 185 for (i = 0; i < tex->num_samplers; i++) { in emit_textures() 196 for (; i < num_samplers; i++) { in emit_textures()
|
/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() 346 transform.num_samplers = log2(samplers_declared_bitmask + 1); in tgsi_remove_dynamic_indexing()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_descriptor_set.c | 151 sampler_idx += set_layout->num_samplers; in panvk_CreatePipelineLayout() 182 layout->num_samplers = sampler_idx; in panvk_CreatePipelineLayout() 193 layout->num_samplers++; in panvk_CreatePipelineLayout()
|
/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/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/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/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/frontends/clover/nir/ |
D | invocation.cpp | 130 int num_samplers = 0; in clover_nir_lower_images() local 138 var->data.driver_location = num_samplers++; in clover_nir_lower_images() 145 if (num_samplers) in clover_nir_lower_images() 146 BITSET_SET_RANGE(shader->info.samplers_used, 0, num_samplers - 1); in clover_nir_lower_images()
|
/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
|