/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv40_verttex.c | 38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; 59 nv30->vertprog.samplers[i] = hwcso[i]; 64 nv30->vertprog.samplers[i] = NULL;
|
H A D | nv30_context.h | 83 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 D | pp_colors.c | 40 const struct pipe_sampler_state *samplers[] = {&p->sampler_point}; local 48 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers);
|
H A D | pp_mlaa.c | 141 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 D | st_atom_sampler.c | 249 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 D | st_vdpau.c | 68 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 D | vl_zscan.h | 53 void *samplers[3]; member in struct:vl_zscan
|
H A D | vl_idct.h | 49 void *samplers[2]; member in struct:vl_idct
|
/external/mesa3d/src/mesa/main/ |
H A D | samplerobj.h | 99 _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 D | samplerobj.c | 181 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 D | sampler.cc | 232 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 D | si_descriptors.c | 420 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 D | freedreno_texture.c | 59 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 D | xa_yuv.c | 72 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 D | lp_state_sampler.c | 72 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 D | lp_context.h | 61 struct pipe_sampler_state *samplers[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS]; member in struct:llvmpipe_context
|
H A D | lp_setup.h | 136 struct pipe_sampler_state **samplers);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_sampler.c | 48 * 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 D | virgl_context.h | 55 struct virgl_textures_info samplers[PIPE_SHADER_TYPES]; member in struct:virgl_context
|
/external/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_render_dynamic.c | 139 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 D | cso_context.c | 59 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 D | draw_pipe_pstipple.c | 89 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 D | r600_hw_context.c | 356 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 D | svga_state_sampler.c | 370 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 D | GrGLProgramDataManager.h | 48 void setSamplerUniforms(const UniformInfoArray& samplers, int startUnit) const;
|