Searched defs:num_samplers (Results 1 - 25 of 27) 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
H A Dst_context.h102 GLuint num_samplers[PIPE_SHADER_TYPES]; member in struct:st_context::__anon12826
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_context.h91 unsigned num_samplers[PIPE_SHADER_TYPES]; member in struct:llvmpipe_context
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dasm_fill.h615 VGint num_samplers; member in struct:shader_asm_info
H A Dshader.c350 VGint num_samplers, param_bytes; local
355 num_samplers = setup_samplers(shader, samplers, sampler_views);
361 sampler_views, num_samplers,
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.c456 VGint num_samplers,
463 if (num_samplers) {
464 cso_set_samplers(renderer->cso, PIPE_SHADER_FRAGMENT, num_samplers, samplers);
465 cso_set_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT, num_samplers, views);
859 VGint num_samplers,
889 if (num_samplers) {
898 samplers, views, num_samplers,
1378 VGint num_samplers,
1391 samplers, views, num_samplers,
452 renderer_set_custom_fs(struct renderer *renderer, void *fs, const struct pipe_sampler_state **samplers, struct pipe_sampler_view **views, VGint num_samplers, const void *const_buffer, VGint const_buffer_len) argument
853 renderer_filter_begin(struct renderer *renderer, struct pipe_resource *dst, VGboolean y0_top, VGbitfield channel_mask, const struct pipe_sampler_state **samplers, struct pipe_sampler_view **views, VGint num_samplers, void *fs, const void *const_buffer, VGint const_buffer_len) argument
1375 renderer_validate_for_shader(struct renderer *renderer, const struct pipe_sampler_state **samplers, struct pipe_sampler_view **views, VGint num_samplers, const struct matrix *modelview, void *fs, const void *const_buffer, VGint const_buffer_len) argument
/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_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
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_private.h250 uint num_samplers; member in struct:draw_context::__anon11965::__anon11966
276 uint num_samplers; member in struct:draw_context::__anon11967::__anon11968
320 unsigned num_samplers[PIPE_SHADER_TYPES]; member in struct:draw_context
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_context.h94 unsigned num_samplers[PIPE_SHADER_TYPES]; member in struct:softpipe_context
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_context.h81 unsigned num_samplers; member in struct:nv30_context::__anon12076
94 unsigned num_samplers; member in struct:nv30_context::__anon12077
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_context.h104 uint8_t num_samplers[3]; member in struct:nv50_context::__anon12096
136 unsigned num_samplers[3]; member in struct:nv50_context
H A Dnv50_surface.c437 unsigned num_samplers[3]; member in struct:nv50_blitctx::__anon12104
805 blit->saved.num_samplers[s] = nv50->num_samplers[s];
815 nv50->num_samplers[0] = nv50->num_samplers[1] = 0;
816 nv50->num_samplers[2] = 2;
848 nv50->num_samplers[s] = blit->saved.num_samplers[s];
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_context.h104 uint8_t num_samplers[5]; member in struct:nvc0_context::__anon12105
141 unsigned num_samplers[5]; member in struct:nvc0_context
H A Dnvc0_surface.c458 unsigned num_samplers[5]; member in struct:nvc0_blitctx::__anon12114
876 blit->saved.num_samplers[s] = nvc0->num_samplers[s];
878 nvc0->samplers_dirty[s] = (1 << nvc0->num_samplers[s]) - 1;
889 nvc0->num_samplers[s] = 0;
890 nvc0->num_samplers[4] = 2;
927 nvc0->num_samplers[s] = blit->saved.num_samplers[s];
929 nvc0->samplers_dirty[s] = (1 << nvc0->num_samplers[s]) - 1;
/external/mesa3d/src/gallium/drivers/r600/
H A Devergreen_compute.c518 unsigned num_samplers,
525 for (int i = 0; i < num_samplers; i++) {
515 evergreen_bind_compute_sampler_states( struct pipe_context *ctx_, unsigned start_slot, unsigned num_samplers, void **samplers_) argument
/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_context.h256 unsigned num_samplers; member in struct:i915_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
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_context.c267 unsigned num_samplers,
275 num_samplers,
282 unsigned num_samplers,
290 num_samplers,
266 rbug_bind_fragment_sampler_states(struct pipe_context *_pipe, unsigned num_samplers, void **samplers) argument
281 rbug_bind_vertex_sampler_states(struct pipe_context *_pipe, unsigned num_samplers, void **samplers) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm_surface_state.c1309 unsigned num_samplers = _mesa_fls(vs->SamplersUsed | fs->SamplersUsed); local
1311 for (unsigned s = 0; s < num_samplers; s++) {
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.h227 unsigned num_samplers; member in struct:svga_state

Completed in 356 milliseconds

12