/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_fs_visitor.cpp | 41 #include "program/sampler.h" 766 /* gen4's SIMD8 sampler always has the slots for u,v,r present. */ 789 /* gen4's SIMD8 sampler always has the slots for u,v,r present. */ 910 /* gen5's sampler has slots for u, v, r, array index, then optional 1170 fs_visitor::emit_texcoord(ir_texture *ir, int sampler, int texunit) argument 1188 if (ir->sampler->type->sampler_dimensionality == GLSL_SAMPLER_DIM_RECT && 1190 (intel->gen >= 6 && (c->key.tex.gl_clamp_mask[0] & (1 << sampler) || 1191 c->key.tex.gl_clamp_mask[1] & (1 << sampler))))) { 1225 ir->sampler->type->sampler_dimensionality == GLSL_SAMPLER_DIM_RECT) { 1234 } else if (ir->sampler 1286 int sampler = _mesa_get_sampler_uniform_value(ir->sampler, prog, &fp->Base); local 1362 swizzle_result(ir_texture *ir, fs_reg orig_val, int sampler) argument [all...] |
H A D | brw_wm_emit.c | 1042 GLuint sampler, 1092 /* Pre-Ironlake, the 8-wide sampler always took u,v,r. */ 1109 if (c->key.tex.gl_clamp_mask[i] & (1 << sampler)) 1155 SURF_INDEX_TEXTURE(sampler), 1156 sampler, 1173 GLuint sampler) 1235 SURF_INDEX_TEXTURE(sampler), 1236 sampler, 1036 emit_tex(struct brw_wm_compile *c, struct brw_reg *dst, GLuint dst_flags, struct brw_reg *arg, struct brw_reg depth_payload, GLuint tex_idx, GLuint sampler, bool shadow) argument 1167 emit_txb(struct brw_wm_compile *c, struct brw_reg *dst, GLuint dst_flags, struct brw_reg *arg, struct brw_reg depth_payload, GLuint tex_idx, GLuint sampler) argument
|
H A D | brw_wm_surface_state.c | 777 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local 797 sampler->sRGBDecode) << 861 * a separate cache and is just the sampler cache.
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 278 p->SamplersUsed = 0x1; /* sampler 0 (bit 0) is used */ 746 struct pipe_sampler_state sampler; local 747 memset(&sampler, 0, sizeof(sampler)); 748 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP; 749 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP; 750 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP; 751 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; 752 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 753 sampler [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkMatrixConvolutionImageFilter.cpp | 445 const GrGLShaderBuilder::TextureSampler& sampler, 463 builder->fsAppendTextureLookup(sampler, coord); 444 appendTextureLookup(GrGLShaderBuilder* builder, const GrGLShaderBuilder::TextureSampler& sampler, const char* coord, const char* bounds, SkMatrixConvolutionImageFilter::TileMode tileMode) argument
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-cpu-profiler.cc | 412 i::Sampler* sampler = local 413 reinterpret_cast<i::Isolate*>(env->GetIsolate())->logger()->sampler(); 414 sampler->StartCountingSamples(); 417 } while (sampler->js_and_external_sample_count() < min_js_samples);
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureMipmapTests.cpp | 283 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); 295 // Bind gradient texture and setup sampler parameters. 538 tcu::Sampler sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); local 560 // Bind gradient texture and setup sampler parameters. 594 params.sampler = sampler;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 131 tcu::Sampler sampler; member in struct:deqp::gles2::Functional::__anon19105::TextureSpec 156 , sampler (sampler_) 192 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 193 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 362 m_textures.push_back(gls::TextureBinding(m_texture2D, m_textureSpec.sampler)); 407 m_textures.push_back(gls::TextureBinding(m_textureCube, m_textureSpec.sampler));
|
H A D | es2fTextureMipmapTests.cpp | 280 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); 288 // Bind gradient texture and setup sampler parameters. 605 // Bind gradient texture and setup sampler parameters. 675 params.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); 676 params.sampler.seamlessCubeMap = false; 819 const tcu::Sampler sampler = glu::mapGLSampler(wrapS, wrapT, minFilter, magFilter); local 958 tcu::Sampler sampler = glu::mapGLSampler(wrapS, wrapT, minFilter, magFilter); local
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureMipmapTests.cpp | 276 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); 288 // Bind gradient texture and setup sampler parameters. 526 tcu::Sampler sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); local 527 sampler.seamlessCubeMap = true; 549 // Bind gradient texture and setup sampler parameters. 583 params.sampler = sampler;
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fNegativeShaderApiTests.cpp | 497 GLuint sampler = 0; local 498 ctx.glGenSamplers (-1, &sampler); 506 GLuint sampler = 0; local 508 ctx.glGenSamplers (1, &sampler); 511 ctx.glBindSampler (maxTexImageUnits, sampler); 515 ctx.beginSection("GL_INVALID_OPERATION is generated if sampler is not zero or a name previously returned from a call to ctx.glGenSamplers."); 520 ctx.beginSection("GL_INVALID_OPERATION is generated if sampler has been deleted by a call to ctx.glDeleteSamplers."); 521 ctx.glDeleteSamplers(1, &sampler); 522 ctx.glBindSampler (1, sampler); 538 GLuint sampler local 557 GLuint sampler = 0; local 575 GLuint sampler = 0; local 594 GLuint sampler = 0; local 614 GLuint sampler = 0; local 633 GLuint sampler = 0; local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsTextureTestUtil.hpp | 328 , sampler () 339 , sampler (sampler_) 348 tcu::Sampler sampler; member in struct:deqp::gls::TextureTestUtil::ReferenceParams
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_decoder.c | 774 struct pipe_sampler_state sampler; local 798 memset(&sampler, 0, sizeof(sampler)); 799 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 800 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 801 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_BORDER; 802 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; 803 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 804 sampler.mag_img_filter = PIPE_TEX_FILTER_NEAREST; 805 sampler 1007 struct ureg_src src, sampler; local [all...] |
/external/mesa3d/src/gallium/drivers/galahad/ |
H A D | glhd_context.c | 175 const struct pipe_sampler_state *sampler) 181 sampler); 233 void *sampler) 239 sampler); 174 galahad_context_create_sampler_state(struct pipe_context *_pipe, const struct pipe_sampler_state *sampler) argument 232 galahad_context_delete_sampler_state(struct pipe_context *_pipe, void *sampler) argument
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state.c | 220 const struct pipe_sampler_state *sampler) 223 const unsigned ws = sampler->wrap_s; 224 const unsigned wt = sampler->wrap_t; 225 const unsigned wr = sampler->wrap_r; 229 cso->templ = *sampler; 231 mipFilt = translate_mip_filter(sampler->min_mip_filter); 232 minFilt = translate_img_filter( sampler->min_img_filter ); 233 magFilt = translate_img_filter( sampler->mag_img_filter ); 235 if (sampler->max_anisotropy > 1) 238 if (sampler 219 i915_create_sampler_state(struct pipe_context *pipe, const struct pipe_sampler_state *sampler) argument 294 i915_fixup_bind_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument 335 i915_bind_fragment_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument 356 i915_delete_sampler_state(struct pipe_context *pipe, void *sampler) argument [all...] |
/external/mesa3d/src/gallium/drivers/identity/ |
H A D | id_context.c | 152 const struct pipe_sampler_state *sampler) 158 sampler); 209 void *sampler) 215 sampler); 151 identity_create_sampler_state(struct pipe_context *_pipe, const struct pipe_sampler_state *sampler) argument 208 identity_delete_sampler_state(struct pipe_context *_pipe, void *sampler) argument
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_fs.c | 225 struct lp_build_sampler_soa *sampler, 344 outputs, sampler, &shader->info.base); 450 struct lp_build_sampler_soa *sampler, 583 outputs, sampler, &shader->info.base); 790 struct lp_build_sampler_soa *sampler; local 922 sampler = lp_llvm_sampler_soa_create(key->sampler, context_ptr); 958 sampler, 1018 sampler, 1043 sampler 217 generate_fs(struct gallivm_state *gallivm, struct lp_fragment_shader *shader, const struct lp_fragment_shader_variant_key *key, LLVMBuilderRef builder, struct lp_type type, LLVMValueRef context_ptr, unsigned i, struct lp_build_interp_soa_context *interp, struct lp_build_sampler_soa *sampler, LLVMValueRef *pmask, LLVMValueRef (*color)[4], LLVMValueRef depth_ptr, LLVMValueRef facing, unsigned partial_mask, LLVMValueRef mask_input, LLVMValueRef counter) argument 442 generate_fs_loop(struct gallivm_state *gallivm, struct lp_fragment_shader *shader, const struct lp_fragment_shader_variant_key *key, LLVMBuilderRef builder, struct lp_type type, LLVMValueRef context_ptr, LLVMValueRef num_loop, struct lp_build_interp_soa_context *interp, struct lp_build_sampler_soa *sampler, LLVMValueRef mask_store, LLVMValueRef (*out_color)[4], LLVMValueRef depth_ptr, unsigned depth_bits, LLVMValueRef facing, LLVMValueRef counter) argument [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state_common.c | 418 struct r600_pipe_sampler_state *sampler = states[i]; local 420 if (sampler == NULL) { 423 if (sampler->border_color_use) { 429 seamless_cube_map = sampler->seamless_cube_map;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 1122 Value *sampler = CI->getOperand(samplerIdx); local 1123 LoadInst *lInst = dyn_cast<LoadInst>(sampler);
|
/external/mesa3d/src/gallium/drivers/rbug/ |
H A D | rbug_context.c | 251 const struct pipe_sampler_state *sampler) 259 sampler); 297 void *sampler) 304 sampler); 250 rbug_create_sampler_state(struct pipe_context *_pipe, const struct pipe_sampler_state *sampler) argument 296 rbug_delete_sampler_state(struct pipe_context *_pipe, void *sampler) argument
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | paint.c | 63 struct pipe_sampler_state sampler; member in struct:vg_paint::__anon26783 75 struct pipe_sampler_state sampler; member in struct:vg_paint::__anon26786 213 paint->gradient.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 214 paint->gradient.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 215 paint->gradient.sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST; 216 paint->gradient.sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST; 217 paint->gradient.sampler.normalized_coords = 1; 219 memcpy(&paint->pattern.sampler, 220 &paint->gradient.sampler, 461 paint->gradient.sampler [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_renderer.c | 421 /* sampler */ 423 struct pipe_sampler_state sampler; local 425 memset(&sampler, 0, sizeof(sampler)); 426 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 427 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 428 sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 429 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 430 sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; 431 sampler [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_xv.c | 468 struct pipe_sampler_state sampler; local 471 memset(&sampler, 0, sizeof(struct pipe_sampler_state)); 473 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP; 474 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP; 475 sampler.min_img_filter = PIPE_TEX_FILTER_LINEAR; 476 sampler.mag_img_filter = PIPE_TEX_FILTER_LINEAR; 477 sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST; 478 sampler.normalized_coords = 1; 480 samplers[0] = &sampler; 481 samplers[1] = &sampler; [all...] |
/external/mesa3d/src/glsl/ |
H A D | ir.cpp | 1307 ir_texture::set_sampler(ir_dereference *sampler, const glsl_type *type) argument 1309 assert(sampler != NULL); 1311 this->sampler = sampler; 1317 assert(sampler->type->sampler_type == (int) type->base_type); 1318 if (sampler->type->sampler_shadow)
|
H A D | ir_reader.cpp | 954 // Read sampler (must be a deref) 955 ir_dereference *sampler = read_dereference(s_sampler); local 956 if (sampler == NULL) { 957 ir_read_error(NULL, "when reading sampler in (%s ...)", 961 tex->set_sampler(sampler, type);
|