/external/mesa3d/src/mesa/program/ |
sampler.h | 27 _mesa_get_sampler_uniform_value(class ir_dereference *sampler,
|
sampler.cpp | 77 /* GLSL 1.10 and 1.20 allowed variable sampler array indices, 85 "warning: Variable sampler array index unsupported.\n" 107 _mesa_get_sampler_uniform_value(class ir_dereference *sampler, 111 get_sampler_name getname(sampler, shader_program); 113 sampler->accept(&getname); 118 "failed to find sampler named %s.\n", getname.name); 122 return shader_program->UniformStorage[location].sampler + getname.offset;
|
/external/mesa3d/src/glsl/builtins/profiles/ |
ARB_shader_texture_lod.frag | 5 vec4 texture1DLod (sampler1D sampler, float coord, float lod); 6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); 7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); 8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod); 9 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); 10 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); 11 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod); 12 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod); 13 vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod); 14 vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod) [all...] |
ARB_shader_texture_lod.glsl | 2 vec4 texture1DGradARB (sampler1D sampler, 4 vec4 texture1DProjGradARB (sampler1D sampler, 6 vec4 texture1DProjGradARB (sampler1D sampler, 9 vec4 texture2DGradARB (sampler2D sampler, 11 vec4 texture2DProjGradARB (sampler2D sampler, 13 vec4 texture2DProjGradARB (sampler2D sampler, 16 vec4 texture3DGradARB (sampler3D sampler, 18 vec4 texture3DProjGradARB (sampler3D sampler, 21 vec4 textureCubeGradARB (samplerCube sampler, 24 vec4 shadow1DGradARB (sampler1DShadow sampler, [all...] |
/external/skia/src/gpu/vk/ |
GrVkSampler.h | 23 VkSampler sampler() const { return fSampler; } function in class:GrVkSampler 26 GrVkSampler(VkSampler sampler) : INHERITED(), fSampler(sampler) {}
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_sampler_state.c | 33 * Sets the sampler state for a single unit. 37 struct gen7_sampler_state *sampler) 52 sampler->ss0.min_filter = BRW_MAPFILTER_NEAREST; 53 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 57 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 58 sampler->ss0.mip_filter = BRW_MIPFILTER_NONE; 61 sampler->ss0.min_filter = BRW_MAPFILTER_NEAREST; 62 sampler->ss0.mip_filter = BRW_MIPFILTER_NEAREST; 65 sampler->ss0.min_filter = BRW_MAPFILTER_LINEAR; 66 sampler->ss0.mip_filter = BRW_MIPFILTER_NEAREST [all...] |
brw_wm_sampler_state.c | 82 upload_default_color(struct brw_context *brw, struct gl_sampler_object *sampler, 97 color[0] = sampler->BorderColor.f[0]; 98 color[1] = sampler->BorderColor.f[0]; 99 color[2] = sampler->BorderColor.f[0]; 100 color[3] = sampler->BorderColor.f[0]; 102 color[0] = sampler->BorderColor.f[0]; 103 color[1] = sampler->BorderColor.f[1]; 104 color[2] = sampler->BorderColor.f[2]; 105 color[3] = sampler->BorderColor.f[3]; 156 * Sets the sampler state for a single unit based off of the sampler ke [all...] |
gen6_sampler_state.c | 44 OUT_BATCH(brw->sampler.offset); /* VS */ 46 OUT_BATCH(brw->sampler.offset);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm_sample.c | 51 * This provides the bridge between the sampler state store in 52 * lp_jit_context and lp_jit_texture and the sampler code 54 * the texture sampler code generator in terms of the state stored in 68 * This is the bridge between our sampler and the TGSI translator. 127 * fetch the members of lp_jit_texture to fulfill the sampler code 131 * sampler code generator a reusable module without dependencies to 159 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 161 FREE(sampler); 181 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 186 &sampler->dynamic_state.static_state[unit] 208 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local 225 struct draw_llvm_sampler_soa *sampler; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tex_sample.c | 56 * This provides the bridge between the sampler state store in 57 * lp_jit_context and lp_jit_texture and the sampler code 59 * the texture sampler code generator in terms of the state stored in 73 * This is the bridge between our sampler and the TGSI translator. 132 * fetch the members of lp_jit_texture to fulfill the sampler code 136 * sampler code generator a reusable module without dependencies to 164 lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 166 FREE(sampler); 186 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 196 &sampler->dynamic_state.static_state[unit] 217 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local 235 struct lp_llvm_sampler_soa *sampler; local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.h | 39 const struct gl_sampler_object *sampler);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_sampler.c | 128 struct pipe_sampler_state *sampler, 142 memset(sampler, 0, sizeof(*sampler)); 143 sampler->wrap_s = gl_wrap_xlate(msamp->WrapS); 144 sampler->wrap_t = gl_wrap_xlate(msamp->WrapT); 145 sampler->wrap_r = gl_wrap_xlate(msamp->WrapR); 147 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); 148 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); 149 sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter); 152 sampler->normalized_coords = 1 229 struct pipe_sampler_state *sampler = samplers + unit; local [all...] |
/external/deqp/framework/common/ |
tcuTexLookupVerifier.hpp | 108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) [all...] |
tcuTexCompareVerifier.hpp | 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result); 56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result); 60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference (…) [all...] |
tcuTexLookupVerifier.cpp | 39 static bool isSamplerSupported (const Sampler& sampler) 41 return sampler.compare == Sampler::COMPAREMODE_NONE && 42 isWrapModeSupported(sampler.wrapS) && 43 isWrapModeSupported(sampler.wrapT) && 44 isWrapModeSupported(sampler.wrapR); 56 inline Vector<ScalarType, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k) 61 return sampleTextureBorder<ScalarType>(access.getFormat(), sampler); 1444 const Sampler& sampler, member in namespace:tcu 1508 const Sampler& sampler, member in namespace:tcu 1622 const Sampler& sampler, member in namespace:tcu 1641 const Sampler& sampler, member in namespace:tcu [all...] |
tcuTexture.hpp | 174 class Sampler 256 Sampler (WrapMode wrapS_, 283 Sampler (void) 348 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const; 349 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const; 350 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const [all...] |
tcuTexCompareVerifier.cpp | 38 static bool isSamplerSupported (const Sampler& sampler) 40 return sampler.compare != Sampler::COMPAREMODE_NONE && 41 isWrapModeSupported(sampler.wrapS) && 42 isWrapModeSupported(sampler.wrapT) && 43 isWrapModeSupported(sampler.wrapR); 59 static CmpResultSet execCompare (const Sampler::CompareMode compareMode, 73 case Sampler::COMPAREMODE_LESS: 78 case Sampler::COMPAREMODE_LESS_OR_EQUAL [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_sampler.c | 96 const struct pipe_sampler_state *sampler) 104 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter); 105 cso->magfilter = translate_img_filter( sampler->mag_img_filter ); 106 cso->minfilter = translate_img_filter( sampler->min_img_filter ); 107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); 108 if(sampler->max_anisotropy) 110 cso->lod_bias = sampler->lod_bias; 111 cso->addressu = translate_wrap_mode(sampler->wrap_s); 112 cso->addressv = translate_wrap_mode(sampler->wrap_t); 113 cso->addressw = translate_wrap_mode(sampler->wrap_r) [all...] |
/external/skia/src/images/ |
SkImageDecoder_ktx.cpp | 70 // Setup the sampler... 71 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 108 const int w = sampler.scaledWidth(); 109 const int h = sampler.scaledHeight(); 112 const int w = sampler.scaledWidth(); 113 const int h = sampler.scaledHeight(); 130 if (!sampler.begin(bm, SkScaledBitmapSampler::kGray, *this)) { 148 const int dstHeight = sampler.scaledHeight(); 150 srcRow += sampler.srcY0() * srcRowBytes; 152 sampler.next(srcRow) [all...] |
SkImageDecoder_libbmp.cpp | 137 SkScaledBitmapSampler sampler(width, height, getSampleSize()); 139 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(), 152 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { 157 const int dstHeight = sampler.scaledHeight(); 160 srcRow += sampler.srcY0() * srcRowBytes; 162 sampler.next(srcRow); 163 srcRow += sampler.srcDY() * srcRowBytes;
|
SkImageDecoder_pkm.cpp | 50 // Setup the sampler... 51 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); 54 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), 67 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { 87 const int dstHeight = sampler.scaledHeight(); 89 srcRow += sampler.srcY0() * srcRowBytes; 91 sampler.next(srcRow); 92 srcRow += sampler.srcDY() * srcRowBytes;
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_sampler.c | 41 * There is a circular dependancy between the sampler state 50 * is set on the map state instead of the sampler state. That is 55 * we need to change the sampler state when map state is changed. 64 const struct i915_sampler_state *sampler, 84 const struct i915_sampler_state *sampler, 91 state[0] = sampler->state[0]; 92 state[1] = sampler->state[1]; 93 state[2] = sampler->state[2]; 111 const unsigned ws = sampler->templ->wrap_s; 112 const unsigned wt = sampler->templ->wrap_t [all...] |
/external/deqp/framework/randomshaders/ |
rsgSamplers.hpp | 43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) 45 , m_sampler (sampler) 56 tcu::Sampler m_sampler; 68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) 70 , m_sampler (sampler) 81 tcu::Sampler m_sampler;
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.c | 97 p->sampler.wrap_s = p->sampler.wrap_t = p->sampler.wrap_r = 100 p->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; 101 p->sampler.min_img_filter = p->sampler.mag_img_filter = 103 p->sampler.normalized_coords = 1;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.h | 47 typedef float (*compute_lambda_func)(const struct sp_sampler_variant *sampler, 96 const struct pipe_sampler_state *sampler; member in struct:sp_sampler_variant 137 /* Create a sampler variant for a given set of non-orthogonal state. Currently the 140 sp_create_sampler_variant( const struct pipe_sampler_state *sampler, 152 sp_sampler_variant(const struct tgsi_sampler *sampler) 154 return (struct sp_sampler_variant *) sampler;
|