Searched refs:samplers (Results 1 - 25 of 136) sorted by relevance

123456

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit];
59 nv30->vertprog.samplers[i] = hwcso[i];
64 nv30->vertprog.samplers[i] = NULL;
H A Dnv30_context.h83 struct nv30_sampler_state *samplers[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon16296
96 struct nv30_sampler_state *samplers[PIPE_MAX_SAMPLERS]; member in struct:nv30_context::__anon16297
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_colors.c40 const struct pipe_sampler_state *samplers[] = {&p->sampler_point}; local
48 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers);
H A Dpp_mlaa.c141 const struct pipe_sampler_state *samplers[] = {&p->sampler_point}; local
142 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers);
170 const struct pipe_sampler_state *samplers[] = local
172 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 3, samplers);
202 const struct pipe_sampler_state *samplers[] = local
204 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 2, samplers);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_sampler.c249 struct pipe_sampler_state *samplers,
266 struct pipe_sampler_state *sampler = samplers + unit;
279 /* if we've reset all the old samplers and we have no more new ones */
284 /* For any external samplers with multiplaner YUV, stuff the additional
294 struct pipe_sampler_state *sampler = samplers + unit;
306 /* we need two additional samplers: */
332 st->state.samplers[PIPE_SHADER_FRAGMENT],
339 st->state.samplers[PIPE_SHADER_VERTEX],
347 st->state.samplers[PIPE_SHADER_GEOMETRY],
355 st->state.samplers[PIPE_SHADER_TESS_CTR
245 update_shader_samplers(struct st_context *st, enum pipe_shader_type shader_stage, const struct gl_program *prog, unsigned max_units, struct pipe_sampler_state *samplers, unsigned *num_samplers) argument
[all...]
H A Dst_vdpau.c68 struct pipe_sampler_view **samplers; local
79 samplers = buffer->get_sampler_view_planes(buffer);
80 if (!samplers)
83 sv = samplers[index >> 1];
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_zscan.h53 void *samplers[3]; member in struct:vl_zscan
H A Dvl_idct.h49 void *samplers[2]; member in struct:vl_idct
/external/mesa3d/src/mesa/main/
H A Dsamplerobj.h99 _mesa_GenSamplers(GLsizei count, GLuint *samplers);
101 _mesa_CreateSamplers(GLsizei count, GLuint *samplers);
103 _mesa_DeleteSamplers(GLsizei count, const GLuint *samplers);
109 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers);
H A Dsamplerobj.c181 create_samplers(struct gl_context *ctx, GLsizei count, GLuint *samplers, argument
195 if (!samplers)
207 samplers[i] = first + i;
214 _mesa_GenSamplers(GLsizei count, GLuint *samplers) argument
217 create_samplers(ctx, count, samplers, "glGenSamplers");
221 _mesa_CreateSamplers(GLsizei count, GLuint *samplers) argument
224 create_samplers(ctx, count, samplers, "glCreateSamplers");
229 _mesa_DeleteSamplers(GLsizei count, const GLuint *samplers) argument
244 if (samplers[i]) {
247 _mesa_lookup_samplerobj_locked(ctx, samplers[
330 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers) argument
[all...]
/external/v8/src/libsampler/
H A Dsampler.cc232 SamplerList* samplers = new SamplerList(); local
233 samplers->push_back(sampler);
234 entry->value = samplers;
236 SamplerList* samplers = reinterpret_cast<SamplerList*>(entry->value); local
238 for (SamplerListIterator iter = samplers->begin();
239 iter != samplers->end(); ++iter) {
246 samplers->push_back(sampler);
260 SamplerList* samplers = reinterpret_cast<SamplerList*>(entry->value); local
261 for (SamplerListIterator iter = samplers->begin(); iter != samplers
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_descriptors.c420 struct si_sampler_views *views = &sctx->samplers[shader].views;
502 struct si_textures_info *samplers = &sctx->samplers[shader]; local
505 if (samplers->depth_texture_mask ||
506 samplers->compressed_colortex_mask ||
519 struct si_textures_info *samplers = &sctx->samplers[shader]; local
529 samplers->depth_texture_mask &= ~(1u << slot);
530 samplers->compressed_colortex_mask &= ~(1u << slot);
544 samplers
567 si_samplers_update_compressed_colortex_mask(struct si_textures_info *samplers) argument
817 struct si_textures_info *samplers = &sctx->samplers[shader]; local
1703 struct si_sampler_views *samplers = &sctx->samplers[shader].views; local
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.c59 tex->samplers[p] = hwcso[i];
60 if (tex->samplers[p])
113 /* on a2xx, since there is a flat address space for textures/samplers,
114 * a change in # of fragment textures/samplers will trigger patching
150 struct pipe_sampler_state *sampler = tex->samplers[i];
163 * format-dependent order. Even though samplers don't know about
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_yuv.c72 struct pipe_sampler_state *samplers[3]; local
87 samplers[i] = &sampler;
95 cso_set_samplers(r->cso, PIPE_SHADER_FRAGMENT, 3, (const struct pipe_sampler_state **)samplers);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_sampler.c72 void **samplers)
78 assert(start + num <= ARRAY_SIZE(llvmpipe->samplers[shader]));
82 /* set the new samplers */
84 llvmpipe->samplers[shader][start + i] = samplers[i];
87 /* find highest non-null samplers[] entry */
90 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL)
98 llvmpipe->samplers[shader],
68 llvmpipe_bind_sampler_states(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned num, void **samplers) argument
H A Dlp_context.h61 struct pipe_sampler_state *samplers[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS]; member in struct:llvmpipe_context
H A Dlp_setup.h136 struct pipe_sampler_state **samplers);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c48 * Bind a range [start, start+num-1] of samplers for a shader stage.
55 void **samplers)
61 assert(start + num <= ARRAY_SIZE(softpipe->samplers[shader]));
65 /* set the new samplers */
67 softpipe->samplers[shader][start + i] = samplers[i];
70 /* find highest non-null samplers[] entry */
73 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL)
81 softpipe->samplers[shader],
51 softpipe_bind_sampler_states(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start, unsigned num, void **samplers) argument
/external/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_context.h55 struct virgl_textures_info samplers[PIPE_SHADER_TYPES]; member in struct:virgl_context
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_render_dynamic.c139 struct ilo_state_sampler samplers[ILO_MAX_SAMPLERS]; local
205 samplers[i] = cso->sampler;
206 ilo_state_sampler_set_surface(&samplers[i],
209 samplers[i] = vec->disabled_sampler;
213 *sampler_state = gen6_SAMPLER_STATE(r->builder, samplers,
478 struct ilo_state_sampler samplers[ILO_MAX_SAMPLERS]; local
499 samplers[i] = cso->sampler;
500 ilo_state_sampler_set_surface(&samplers[i],
503 samplers[i] = vec->disabled_sampler;
507 r->state.cs.SAMPLER_STATE = gen6_SAMPLER_STATE(r->builder, samplers,
[all...]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_context.c59 void *samplers[PIPE_MAX_SAMPLERS]; member in struct:sampler_info
84 struct sampler_info samplers[PIPE_SHADER_TYPES]; member in struct:cso_context
243 for (j = 0; j < ctx->samplers[i].nr_samplers; j++) {
244 struct cso_sampler *sampler = ctx->samplers[i].cso_samplers[j];
1239 ctx->samplers[shader_stage].cso_samplers[idx] = cso;
1240 ctx->samplers[shader_stage].samplers[idx] = cso->data;
1242 ctx->samplers[shader_stage].cso_samplers[idx] = NULL;
1243 ctx->samplers[shader_stage].samplers[id
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_pstipple.c89 void *samplers[PIPE_MAX_SAMPLERS]; member in struct:pstip_stage::__anon16036
200 /* how many samplers? */
206 pstip->state.samplers[pstip->fs->sampler_unit] = pstip->sampler_cso;
215 num_samplers, pstip->state.samplers);
244 pstip->state.samplers);
388 memcpy(pstip->state.samplers, sampler, num * sizeof(void *));
390 pstip->state.samplers[i] = NULL;
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_hw_context.c356 struct r600_textures_info *samplers = &ctx->samplers[shader]; local
359 samplers->views.dirty_mask = samplers->views.enabled_mask;
360 samplers->states.dirty_mask = samplers->states.enabled_mask;
363 r600_sampler_views_dirty(ctx, &samplers->views);
364 r600_sampler_states_dirty(ctx, &samplers->states);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_sampler.c370 memcmp(ids, svga->state.hw_draw.samplers[shader],
380 memcpy(svga->state.hw_draw.samplers[shader], ids,
397 if (svga->state.hw_draw.samplers[PIPE_SHADER_FRAGMENT][unit]
408 svga->state.hw_draw.samplers[PIPE_SHADER_FRAGMENT][unit] =
/external/skia/src/gpu/gl/
H A DGrGLProgramDataManager.h48 void setSamplerUniforms(const UniformInfoArray& samplers, int startUnit) const;

Completed in 589 milliseconds

123456