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

12

/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_sampler.c214 unsigned *num_samplers)
218 const GLuint old_max = *num_samplers;
222 if (*num_samplers == 0 && samplers_used == 0x0)
225 *num_samplers = 0;
236 *num_samplers = unit + 1;
263 &st->state.num_samplers[PIPE_SHADER_FRAGMENT]);
270 &st->state.num_samplers[PIPE_SHADER_VERTEX]);
278 &st->state.num_samplers[PIPE_SHADER_GEOMETRY]);
209 update_shader_samplers(struct st_context *st, unsigned shader_stage, const struct gl_program *prog, unsigned max_units, struct pipe_sampler_state *samplers, unsigned *num_samplers) argument
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv40_verttex.c62 for (; i < nv30->vertprog.num_samplers; i++) {
67 nv30->vertprog.num_samplers = nr;
H A Dnv30_context.h81 unsigned num_samplers; member in struct:nv30_context::__anon13561
94 unsigned num_samplers; member in struct:nv30_context::__anon13562
H A Dnv30_fragtex.c164 for (; i < nv30->fragprog.num_samplers; i++) {
169 nv30->fragprog.num_samplers = nr;
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_pstipple.c81 uint num_samplers; member in struct:pstip_stage
527 uint num_samplers; local
541 num_samplers = MAX2(pstip->num_sampler_views, pstip->num_samplers);
542 num_samplers = MAX2(num_samplers, pstip->fs->sampler_unit + 1);
549 assert(num_samplers <= PIPE_MAX_SAMPLERS);
552 pstip->driver_bind_sampler_states(pipe, num_samplers, pstip->state.samplers);
553 pstip->driver_set_sampler_views(pipe, num_samplers, pstip->state.sampler_views);
575 pstip->driver_bind_sampler_states(pipe, pstip->num_samplers,
[all...]
H A Ddraw_private.h250 uint num_samplers; member in struct:draw_context::__anon13450::__anon13451
276 uint num_samplers; member in struct:draw_context::__anon13452::__anon13453
320 unsigned num_samplers[PIPE_SHADER_TYPES]; member in struct:draw_context
H A Ddraw_pipe_aaline.c100 uint num_samplers; member in struct:aaline_stage
678 uint num_samplers; local
707 num_samplers = MAX2(aaline->num_sampler_views, aaline->num_samplers);
708 num_samplers = MAX2(num_samplers, aaline->fs->sampler_unit + 1);
715 aaline->driver_bind_sampler_states(pipe, num_samplers, aaline->state.sampler);
716 aaline->driver_set_sampler_views(pipe, num_samplers, aaline->state.sampler_views);
743 aaline->driver_bind_sampler_states(pipe, aaline->num_samplers,
902 aaline->num_samplers
[all...]
H A Ddraw_context.c585 uint num_samplers,
589 draw->vs.tgsi.num_samplers = num_samplers;
593 draw->gs.tgsi.num_samplers = num_samplers;
790 draw->num_samplers[shader_stage] = num;
583 draw_texture_samplers(struct draw_context *draw, uint shader, uint num_samplers, struct tgsi_sampler **samplers) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_sampler.c81 if (start + num <= llvmpipe->num_samplers[shader] &&
96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num);
99 llvmpipe->num_samplers[shader] = j;
106 llvmpipe->num_samplers[shader]);
H A Dlp_context.h91 unsigned num_samplers[PIPE_SHADER_TYPES]; member in struct:llvmpipe_context
/external/mesa3d/src/gallium/include/pipe/
H A Dp_context.h138 unsigned num_samplers,
141 unsigned num_samplers,
144 unsigned num_samplers,
148 unsigned num_samplers,
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dshaders_cache.c129 VGint num_consts, num_temps, num_samplers; local
142 if (shaders[i]->num_samplers)
150 shaders[i]->num_samplers);
164 num_samplers = end_sampler - start_sampler;
199 if (num_samplers >= 1) {
H A Drenderer.h57 VGint num_samplers,
109 VGint num_samplers,
H A Dshader.c350 VGint num_samplers, param_bytes; local
355 num_samplers = setup_samplers(shader, samplers, sampler_views);
361 sampler_views, num_samplers,
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_tex.c363 for (i = 0; i < nvc0->num_samplers[s]; ++i) {
384 for (; i < nvc0->state.num_samplers[s]; ++i)
387 nvc0->state.num_samplers[s] = nvc0->num_samplers[s];
406 for (i = 0; i < nvc0->num_samplers[s]; ++i) {
434 for (; i < nvc0->state.num_samplers[s]; ++i)
437 nvc0->state.num_samplers[s] = nvc0->num_samplers[s];
H A Dnvc0_context.h104 uint8_t num_samplers[5]; member in struct:nvc0_context::__anon13590
141 unsigned num_samplers[5]; member in struct:nvc0_context
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c86 if (start + num <= softpipe->num_samplers[shader] &&
101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num);
104 softpipe->num_samplers[shader] = j;
111 softpipe->num_samplers[shader]);
H A Dsp_context.h94 unsigned num_samplers[PIPE_SHADER_TYPES]; member in struct:softpipe_context
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c169 if (start + num <= svga->curr.num_samplers &&
180 unsigned j = MAX2(svga->curr.num_samplers, start + num);
183 svga->curr.num_samplers = j;
/external/mesa3d/src/gallium/drivers/galahad/
H A Dglhd_context.c188 unsigned num_samplers,
194 if (num_samplers > PIPE_MAX_SAMPLERS) {
197 num_samplers, PIPE_MAX_SAMPLERS);
202 pipe->bind_vertex_sampler_states(pipe, num_samplers, samplers);
205 pipe->bind_fragment_sampler_states(pipe, num_samplers, samplers);
214 unsigned num_samplers,
218 0, num_samplers, samplers);
223 unsigned num_samplers,
227 0, num_samplers, samplers);
185 galahad_context_bind_sampler_states(struct pipe_context *_pipe, unsigned shader, unsigned start, unsigned num_samplers, void **samplers) argument
213 galahad_context_bind_vertex_sampler_states(struct pipe_context *_pipe, unsigned num_samplers, void **samplers) argument
222 galahad_context_bind_fragment_sampler_states(struct pipe_context *_pipe, unsigned num_samplers, void **samplers) argument
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state.c307 unsigned num_samplers,
313 assert(num_samplers <= Elements(i915->vertex_samplers));
316 if (num_samplers == i915->num_vertex_samplers &&
317 !memcmp(i915->vertex_samplers, samplers, num_samplers * sizeof(void *)))
320 for (i = 0; i < num_samplers; ++i)
322 for (i = num_samplers; i < Elements(i915->vertex_samplers); ++i)
325 i915->num_vertex_samplers = num_samplers;
342 if (num == i915->num_samplers &&
351 i915->num_samplers = num;
306 i915_bind_vertex_sampler_states(struct pipe_context *pipe, unsigned num_samplers, void **samplers) argument
H A Di915_state_sampler.c151 for (unit = 0; unit < i915->num_fragment_sampler_views && unit < i915->num_samplers;
348 for (unit = 0; unit < i915->num_fragment_sampler_views && unit < i915->num_samplers;
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_tex.c293 for (i = 0; i < nv50->num_samplers[s]; ++i) {
314 for (; i < nv50->state.num_samplers[s]; ++i) {
318 nv50->state.num_samplers[s] = nv50->num_samplers[s];
H A Dnv50_context.h104 uint8_t num_samplers[3]; member in struct:nv50_context::__anon13581
136 unsigned num_samplers[3]; member in struct:nv50_context
/external/mesa3d/src/gallium/drivers/identity/
H A Did_context.c165 unsigned num_samplers,
176 pipe->bind_vertex_sampler_states(pipe, num_samplers, samplers);
179 pipe->bind_geometry_sampler_states(pipe, num_samplers, samplers);
182 pipe->bind_fragment_sampler_states(pipe, num_samplers, samplers);
191 unsigned num_samplers,
195 0, num_samplers, samplers);
200 unsigned num_samplers,
204 0, num_samplers, samplers);
162 identity_bind_sampler_states(struct pipe_context *_pipe, unsigned shader, unsigned start, unsigned num_samplers, void **samplers) argument
190 identity_bind_fragment_sampler_states(struct pipe_context *_pipe, unsigned num_samplers, void **samplers) argument
199 identity_bind_vertex_sampler_states(struct pipe_context *_pipe, unsigned num_samplers, void **samplers) argument

Completed in 474 milliseconds

12