Searched defs:sampler (Results 76 - 100 of 308) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dshaders_cache.c132 struct ureg_src *sampler = NULL; local
200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler);
202 sampler[i] = ureg_DECL_sampler(ureg, i);
211 sampler,
218 sampler,
245 if (sampler)
246 free(sampler);
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dgraw_util.h290 void *sampler; local
304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc);
306 return sampler;
H A Dquad-sample.c35 static void *sampler = NULL; variable
288 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
289 if (sampler == NULL)
292 ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/
H A Dquad-tex.c73 struct pipe_sampler_state sampler; member in struct:program
154 /* sampler texture */
207 /* sampler */
208 memset(&p->sampler, 0, sizeof(p->sampler));
209 p->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
210 p->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
211 p->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
212 p->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
213 p->sampler
[all...]
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dopt_function_inlining.cpp39 ir_variable *sampler,
127 /* For samplers, we want the inlined sampler references
128 * referencing the passed in sampler variable, since that
130 * a sampler wouldn't. Fix it up below.
172 /* If any samplers were passed in, replace any deref of the sampler
173 * with a deref of the sampler argument.
271 * Replaces references to the "sampler" variable with a clone of "deref."
276 * also appear in the sampler field of an ir_tex instruction.
281 ir_sampler_replacement_visitor(ir_variable *sampler, ir_dereference *deref) argument
283 this->sampler
299 ir_variable *sampler; member in class:ir_sampler_replacement_visitor
365 do_sampler_replacement(exec_list *instructions, ir_variable *sampler, ir_dereference *deref) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_wm.c453 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit_id); local
471 if (sampler->MinFilter != GL_NEAREST &&
472 sampler->MagFilter != GL_NEAREST) {
473 if (sampler->WrapS == GL_CLAMP)
475 if (sampler->WrapT == GL_CLAMP)
477 if (sampler->WrapR == GL_CLAMP)
H A Dgen7_wm_surface_state.c265 * a separate cache and is just the sampler cache.
302 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local
330 sampler->sRGBDecode);
440 * a separate cache and is just the sampler cache.
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dsamplerobj.c65 /* Unreference the old sampler */
89 /* reference new sampler */
92 /* this sampler's being deleted (look just above) */
94 _mesa_problem(NULL, "referencing deleted sampler object");
111 * Initialize the fields of the given sampler object.
184 /* Insert the ID and pointer to new sampler object into hash table */
228 _mesa_IsSampler(GLuint sampler) argument
235 if (sampler == 0)
238 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
245 _mesa_BindSampler(GLuint unit, GLuint sampler) argument
603 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) argument
688 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) argument
774 _mesa_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params) argument
866 _mesa_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params) argument
953 _mesa_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params) argument
1039 _mesa_SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *params) argument
1125 _mesa_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) argument
1203 _mesa_GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) argument
1281 _mesa_GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) argument
1360 _mesa_GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) argument
[all...]
H A Dtexstate.c576 struct gl_sampler_object *sampler = texUnit->Sampler ? local
579 if (!_mesa_is_texture_complete(texObj, sampler)) {
582 if (_mesa_is_texture_complete(texObj, sampler)) {
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrTextureDomain.cpp46 const GrGLEffect::TextureSampler sampler,
53 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler,
75 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, clampedCoords.c_str());
92 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, inCoords.c_str());
108 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, inCoords.c_str());
42 sampleTexture(GrGLShaderBuilder* builder, const GrTextureDomain& textureDomain, const char* outColor, const SkString& inCoords, const GrGLEffect::TextureSampler sampler, const char* inModulateColor) argument
/external/deqp/framework/common/
H A DtcuTexVerifierUtil.cpp113 Sampler getUnnormalizedCoordSampler (const Sampler& sampler) argument
115 Sampler copy = sampler;
/external/deqp/modules/gles2/functional/
H A Des2fTextureSizeTests.cpp296 Sampler sampler = mapGLSampler(wrapS, wrapT, minFilter, magFilter); local
297 sampler.seamlessCubeMap = false;
298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
/external/deqp/modules/gles3/functional/
H A Des3fSamplerStateQueryTests.cpp56 virtual void verifyInteger (tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLint reference) = DE_NULL;
57 virtual void verifyFloat (tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLfloat reference) = DE_NULL;
82 void verifyInteger (tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLint reference);
83 void verifyFloat (tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLfloat reference);
91 void GetSamplerParameterIVerifier::verifyInteger (tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLint reference) argument
96 glGetSamplerParameteriv(sampler, name, &state);
106 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid sampler param value");
110 void GetSamplerParameterIVerifier::verifyFloat (tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLfloat reference) argument
115 glGetSamplerParameteriv(sampler, name, &state);
128 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got sampler textur
146 verifyInteger(tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLint reference) argument
168 verifyFloat(tcu::TestContext& testCtx, GLuint sampler, GLenum name, GLfloat reference) argument
[all...]
H A Des3fTextureSizeTests.cpp296 Sampler sampler = mapGLSampler(wrapS, wrapT, minFilter, magFilter); local
297 sampler.seamlessCubeMap = true;
298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
/external/deqp/modules/glshared/
H A DglsSamplerObjectTest.cpp101 void TextureSamplerTest::setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler) argument
103 gl.samplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minFilter);
104 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MIN_FILTER, state.minFilter)");
105 gl.samplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magFilter);
106 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_MAG_FILTER, state.magFilter)");
107 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS);
108 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_S, state.wrapS)");
109 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT);
110 GLU_EXPECT_NO_ERROR(gl.getError(), "glSamplerParameteri(sampler, GL_TEXTURE_WRAP_T, state.wrapT)");
111 gl.samplerParameteri(sampler, GL_TEXTURE_WRAP_
514 GLuint sampler = -1; local
613 setSamplerState(const glw::Functions& gl, SamplingState state, GLuint sampler) argument
1077 GLuint sampler = -1; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_simple_shaders.c120 struct ureg_src sampler; local
131 sampler = ureg_DECL_sampler( ureg, 0 );
149 tex_target, tex, sampler );
182 struct ureg_src sampler; local
191 sampler = ureg_DECL_sampler( ureg, 0 );
211 tex_target, tex, sampler );
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mc.c163 struct ureg_src tc[2], sampler; local
175 sampler = ureg_DECL_sampler(shader, 0);
192 * fragment.xyz = tex(ref, sampler[0])
214 ureg_TEX(shader, ureg_writemask(fragment, TGSI_WRITEMASK_XYZ), TGSI_TEXTURE_2D, ureg_src(ref), sampler);
333 * fragment.xyz = tex(tc, sampler) * scale + tc.z
374 struct pipe_sampler_state sampler; local
381 memset(&sampler, 0, sizeof(sampler));
382 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
383 sampler
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_emit.c182 * \param sampler the i915 sampler register
189 uint sampler,
239 i915_emit_texld( p, tmp, A0_DEST_CHANNEL_ALL, sampler, coord, opcode, num_coord );
262 T0_SAMPLER( sampler ));
186 i915_emit_texld( struct i915_fp_compile *p, uint dest, uint destmask, uint sampler, uint coord, uint opcode, uint num_coord ) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.h69 struct lp_sampler_static_state sampler[PIPE_MAX_SAMPLERS]; member in struct:lp_fragment_shader_variant_key
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dasm_fill.h35 struct ureg_src *sampler,
43 struct ureg_src *sampler,
76 struct ureg_src *sampler,
93 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[2]), sampler[0]);
100 struct ureg_src *sampler,
129 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[0]), sampler[0]);
137 struct ureg_src *sampler,
160 ureg_TEX(ureg, *out, TGSI_TEXTURE_2D, ureg_src(temp[1]), sampler[0]);
167 struct ureg_src *sampler,
173 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[1]), sampler[
40 solid_fill( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
73 linear_grad( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
97 radial_grad( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
134 pattern( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
164 paint_degenerate( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
177 image_normal( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
191 image_multiply( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
205 image_stencil( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
218 color_transform( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
237 alpha_normal( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
251 alpha_per_channel( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
422 blend_src( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
433 blend_src_over( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
444 blend_dst_over( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
455 blend_src_in( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
466 blend_dst_in( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
477 blend_multiply( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
488 blend_screen( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
499 blend_darken( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
510 blend_lighten( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
521 blend_additive( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
532 mask( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
547 premultiply( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
561 unpremultiply( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
573 color_bw( struct ureg_program *ureg, struct ureg_dst *out, struct ureg_src *in, struct ureg_src *sampler, struct ureg_dst *temp, struct ureg_src *constant) argument
[all...]
H A Dshaders_cache.c132 struct ureg_src *sampler = NULL; local
200 sampler = (struct ureg_src *) malloc(sizeof(struct ureg_src) * end_sampler);
202 sampler[i] = ureg_DECL_sampler(ureg, i);
211 sampler,
218 sampler,
245 if (sampler)
246 free(sampler);
/external/mesa3d/src/gallium/tests/graw/
H A Dgraw_util.h290 void *sampler; local
304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc);
306 return sampler;
H A Dquad-sample.c35 static void *sampler = NULL; variable
288 sampler = ctx->create_sampler_state(ctx, &sampler_desc);
289 if (sampler == NULL)
292 ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
/external/mesa3d/src/gallium/tests/trivial/
H A Dquad-tex.c73 struct pipe_sampler_state sampler; member in struct:program
154 /* sampler texture */
207 /* sampler */
208 memset(&p->sampler, 0, sizeof(p->sampler));
209 p->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
210 p->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
211 p->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
212 p->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
213 p->sampler
[all...]
/external/mesa3d/src/glsl/
H A Dopt_function_inlining.cpp39 ir_variable *sampler,
127 /* For samplers, we want the inlined sampler references
128 * referencing the passed in sampler variable, since that
130 * a sampler wouldn't. Fix it up below.
172 /* If any samplers were passed in, replace any deref of the sampler
173 * with a deref of the sampler argument.
271 * Replaces references to the "sampler" variable with a clone of "deref."
276 * also appear in the sampler field of an ir_tex instruction.
281 ir_sampler_replacement_visitor(ir_variable *sampler, ir_dereference *deref) argument
283 this->sampler
299 ir_variable *sampler; member in class:ir_sampler_replacement_visitor
365 do_sampler_replacement(exec_list *instructions, ir_variable *sampler, ir_dereference *deref) argument
[all...]

Completed in 574 milliseconds

1234567891011>>