Home
last modified time | relevance | path

Searched refs:num_samplers (Results 1 – 25 of 49) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c214 unsigned *num_samplers) in update_shader_samplers() argument
218 const GLuint old_max = *num_samplers; in update_shader_samplers()
222 if (*num_samplers == 0 && samplers_used == 0x0) in update_shader_samplers()
225 *num_samplers = 0; in update_shader_samplers()
236 *num_samplers = unit + 1; in update_shader_samplers()
263 &st->state.num_samplers[PIPE_SHADER_FRAGMENT]); in update_samplers()
270 &st->state.num_samplers[PIPE_SHADER_VERTEX]); in update_samplers()
278 &st->state.num_samplers[PIPE_SHADER_GEOMETRY]); in update_samplers()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c81 uint num_samplers; member
527 uint num_samplers; in pstip_first_tri() local
541 num_samplers = MAX2(pstip->num_sampler_views, pstip->num_samplers); in pstip_first_tri()
542 num_samplers = MAX2(num_samplers, pstip->fs->sampler_unit + 1); in pstip_first_tri()
549 assert(num_samplers <= PIPE_MAX_SAMPLERS); in pstip_first_tri()
552 pstip->driver_bind_sampler_states(pipe, num_samplers, pstip->state.samplers); in pstip_first_tri()
553 pstip->driver_set_sampler_views(pipe, num_samplers, pstip->state.sampler_views); in pstip_first_tri()
575 pstip->driver_bind_sampler_states(pipe, pstip->num_samplers, in pstip_flush()
718 pstip->num_samplers = num; in pstip_bind_sampler_states()
Ddraw_pipe_aaline.c100 uint num_samplers; member
678 uint num_samplers; in aaline_first_line() local
707 num_samplers = MAX2(aaline->num_sampler_views, aaline->num_samplers); in aaline_first_line()
708 num_samplers = MAX2(num_samplers, aaline->fs->sampler_unit + 1); in aaline_first_line()
715 aaline->driver_bind_sampler_states(pipe, num_samplers, aaline->state.sampler); in aaline_first_line()
716 aaline->driver_set_sampler_views(pipe, num_samplers, aaline->state.sampler_views); in aaline_first_line()
743 aaline->driver_bind_sampler_states(pipe, aaline->num_samplers, in aaline_flush()
902 aaline->num_samplers = num; in aaline_bind_sampler_states()
Ddraw_context.c585 uint num_samplers, in draw_texture_samplers() argument
589 draw->vs.tgsi.num_samplers = num_samplers; in draw_texture_samplers()
593 draw->gs.tgsi.num_samplers = num_samplers; in draw_texture_samplers()
790 draw->num_samplers[shader_stage] = num; in draw_set_samplers()
Ddraw_private.h250 uint num_samplers; member
276 uint num_samplers; member
320 unsigned num_samplers[PIPE_SHADER_TYPES]; member
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h138 unsigned num_samplers,
141 unsigned num_samplers,
144 unsigned num_samplers,
148 unsigned num_samplers,
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_tex.c363 for (i = 0; i < nvc0->num_samplers[s]; ++i) { in nvc0_validate_tsc()
384 for (; i < nvc0->state.num_samplers[s]; ++i) in nvc0_validate_tsc()
387 nvc0->state.num_samplers[s] = nvc0->num_samplers[s]; in nvc0_validate_tsc()
406 for (i = 0; i < nvc0->num_samplers[s]; ++i) { in nve4_validate_tsc()
434 for (; i < nvc0->state.num_samplers[s]; ++i) in nve4_validate_tsc()
437 nvc0->state.num_samplers[s] = nvc0->num_samplers[s]; in nve4_validate_tsc()
Dnvc0_surface.c458 unsigned num_samplers[5]; member
876 blit->saved.num_samplers[s] = nvc0->num_samplers[s]; in nvc0_blitctx_pre_blit()
878 nvc0->samplers_dirty[s] = (1 << nvc0->num_samplers[s]) - 1; in nvc0_blitctx_pre_blit()
889 nvc0->num_samplers[s] = 0; in nvc0_blitctx_pre_blit()
890 nvc0->num_samplers[4] = 2; in nvc0_blitctx_pre_blit()
927 nvc0->num_samplers[s] = blit->saved.num_samplers[s]; in nvc0_blitctx_post_blit()
929 nvc0->samplers_dirty[s] = (1 << nvc0->num_samplers[s]) - 1; in nvc0_blitctx_post_blit()
Dnvc0_context.h104 uint8_t num_samplers[5]; member
141 unsigned num_samplers[5]; member
/external/mesa3d/src/gallium/state_trackers/vega/
Dshaders_cache.c129 VGint num_consts, num_temps, num_samplers; in combine_shaders() local
142 if (shaders[i]->num_samplers) in combine_shaders()
150 shaders[i]->num_samplers); in combine_shaders()
164 num_samplers = end_sampler - start_sampler; in combine_shaders()
199 if (num_samplers >= 1) { in combine_shaders()
Dshader.c350 VGint num_samplers, param_bytes; in shader_bind() local
355 num_samplers = setup_samplers(shader, samplers, sampler_views); in shader_bind()
361 sampler_views, num_samplers, in shader_bind()
Drenderer.h57 VGint num_samplers,
109 VGint num_samplers,
Drenderer.c456 VGint num_samplers, in renderer_set_custom_fs() argument
463 if (num_samplers) { in renderer_set_custom_fs()
464 cso_set_samplers(renderer->cso, PIPE_SHADER_FRAGMENT, num_samplers, samplers); in renderer_set_custom_fs()
465 cso_set_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT, num_samplers, views); in renderer_set_custom_fs()
859 VGint num_samplers, in renderer_filter_begin() argument
889 if (num_samplers) { in renderer_filter_begin()
898 samplers, views, num_samplers, in renderer_filter_begin()
1378 VGint num_samplers, in renderer_validate_for_shader() argument
1391 samplers, views, num_samplers, in renderer_validate_for_shader()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c81 if (start + num <= llvmpipe->num_samplers[shader] && in llvmpipe_bind_sampler_states()
96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); in llvmpipe_bind_sampler_states()
99 llvmpipe->num_samplers[shader] = j; in llvmpipe_bind_sampler_states()
106 llvmpipe->num_samplers[shader]); in llvmpipe_bind_sampler_states()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c86 if (start + num <= softpipe->num_samplers[shader] && in softpipe_bind_sampler_states()
101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num); in softpipe_bind_sampler_states()
104 softpipe->num_samplers[shader] = j; in softpipe_bind_sampler_states()
111 softpipe->num_samplers[shader]); in softpipe_bind_sampler_states()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv40_verttex.c62 for (; i < nv30->vertprog.num_samplers; i++) { in nv40_verttex_sampler_states_bind()
67 nv30->vertprog.num_samplers = nr; in nv40_verttex_sampler_states_bind()
Dnv30_context.h81 unsigned num_samplers; member
94 unsigned num_samplers; member
Dnv30_fragtex.c164 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/galahad/
Dglhd_context.c188 unsigned num_samplers, in galahad_context_bind_sampler_states() argument
194 if (num_samplers > PIPE_MAX_SAMPLERS) { in galahad_context_bind_sampler_states()
197 num_samplers, PIPE_MAX_SAMPLERS); in galahad_context_bind_sampler_states()
202 pipe->bind_vertex_sampler_states(pipe, num_samplers, samplers); in galahad_context_bind_sampler_states()
205 pipe->bind_fragment_sampler_states(pipe, num_samplers, samplers); in galahad_context_bind_sampler_states()
214 unsigned num_samplers, in galahad_context_bind_vertex_sampler_states() argument
218 0, num_samplers, samplers); in galahad_context_bind_vertex_sampler_states()
223 unsigned num_samplers, in galahad_context_bind_fragment_sampler_states() argument
227 0, num_samplers, samplers); in galahad_context_bind_fragment_sampler_states()
/external/mesa3d/src/gallium/drivers/identity/
Did_context.c165 unsigned num_samplers, in identity_bind_sampler_states() argument
176 pipe->bind_vertex_sampler_states(pipe, num_samplers, samplers); in identity_bind_sampler_states()
179 pipe->bind_geometry_sampler_states(pipe, num_samplers, samplers); in identity_bind_sampler_states()
182 pipe->bind_fragment_sampler_states(pipe, num_samplers, samplers); in identity_bind_sampler_states()
191 unsigned num_samplers, in identity_bind_fragment_sampler_states() argument
195 0, num_samplers, samplers); in identity_bind_fragment_sampler_states()
200 unsigned num_samplers, in identity_bind_vertex_sampler_states() argument
204 0, num_samplers, samplers); in identity_bind_vertex_sampler_states()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_tex.c293 for (i = 0; i < nv50->num_samplers[s]; ++i) { in nv50_validate_tsc()
314 for (; i < nv50->state.num_samplers[s]; ++i) { in nv50_validate_tsc()
318 nv50->state.num_samplers[s] = nv50->num_samplers[s]; in nv50_validate_tsc()
Dnv50_surface.c437 unsigned num_samplers[3]; member
805 blit->saved.num_samplers[s] = nv50->num_samplers[s]; in nv50_blitctx_pre_blit()
815 nv50->num_samplers[0] = nv50->num_samplers[1] = 0; in nv50_blitctx_pre_blit()
816 nv50->num_samplers[2] = 2; in nv50_blitctx_pre_blit()
848 nv50->num_samplers[s] = blit->saved.num_samplers[s]; in nv50_blitctx_post_blit()
Dnv50_context.h104 uint8_t num_samplers[3]; member
136 unsigned num_samplers[3]; member
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c307 unsigned num_samplers, in i915_bind_vertex_sampler_states() argument
313 assert(num_samplers <= Elements(i915->vertex_samplers)); in i915_bind_vertex_sampler_states()
316 if (num_samplers == i915->num_vertex_samplers && in i915_bind_vertex_sampler_states()
317 !memcmp(i915->vertex_samplers, samplers, num_samplers * sizeof(void *))) in i915_bind_vertex_sampler_states()
320 for (i = 0; i < num_samplers; ++i) in i915_bind_vertex_sampler_states()
322 for (i = num_samplers; i < Elements(i915->vertex_samplers); ++i) in i915_bind_vertex_sampler_states()
325 i915->num_vertex_samplers = num_samplers; in i915_bind_vertex_sampler_states()
342 if (num == i915->num_samplers && in i915_bind_fragment_sampler_states()
351 i915->num_samplers = num; in i915_bind_fragment_sampler_states()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c169 if (start + num <= svga->curr.num_samplers && in svga_bind_sampler_states()
180 unsigned j = MAX2(svga->curr.num_samplers, start + num); in svga_bind_sampler_states()
183 svga->curr.num_samplers = j; in svga_bind_sampler_states()

12