Searched refs:sampler (Results 1 - 25 of 530) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dsampler.hpp30 class sampler : public ref_counter, public _cl_sampler { class in namespace:clover
32 sampler(clover::context &ctx, bool norm_mode,
36 sampler(const sampler &s) = delete;
37 sampler &
38 operator=(const sampler &s) = delete;
H A Dsampler.cpp23 #include "core/sampler.hpp"
28 sampler::sampler(clover::context &ctx, bool norm_mode, function in class:sampler
36 sampler::norm_mode() {
41 sampler::addr_mode() {
46 sampler::filter_mode() {
51 sampler::bind(command_queue &q) {
71 sampler::unbind(command_queue &q, void *st) {
/external/mesa3d/src/mesa/swrast/
H A Ds_texfilter.h39 const struct gl_sampler_object *sampler);
/external/skia/src/gpu/vk/
H A DGrVkSampler.h23 VkSampler sampler() const { return fSampler; } function in class:GrVkSampler
28 static const uint16_t& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } argument
38 GrVkSampler(VkSampler sampler, uint16_t key) : INHERITED(), fSampler(sampler), fKey(key) {} argument
/external/skqp/src/gpu/vk/
H A DGrVkSampler.h23 VkSampler sampler() const { return fSampler; } function in class:GrVkSampler
28 static const uint16_t& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } argument
38 GrVkSampler(VkSampler sampler, uint16_t key) : INHERITED(), fSampler(sampler), fKey(key) {} argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c57 * This provides the bridge between the sampler state store in
58 * lp_jit_context and lp_jit_texture and the sampler code
60 * the texture sampler code generator in terms of the state stored in
72 * This is the bridge between our sampler and the TGSI translator.
130 * fetch the members of lp_jit_texture to fulfill the sampler code
134 * sampler code generator a reusable module without dependencies to
200 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name);
240 lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument
242 FREE(sampler);
255 struct lp_llvm_sampler_soa *sampler local
281 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; local
295 struct lp_llvm_sampler_soa *sampler; local
[all...]
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp66 * This provides the bridge between the sampler state store in
67 * lp_jit_context and lp_jit_texture and the sampler code
69 * the texture sampler code generator in terms of the state stored in
82 * This is the bridge between our sampler and the TGSI translator.
150 * fetch the members of lp_jit_texture to fulfill the sampler code
154 * sampler code generator a reusable module without dependencies to
236 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name);
266 swr_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument
268 FREE(sampler);
281 struct swr_sampler_soa *sampler local
308 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base; local
324 struct swr_sampler_soa *sampler; local
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c51 * 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
66 * This is the bridge between our sampler and the TGSI translator.
162 lp_build_name(res, "context.sampler%u.%s", sampler_unit, member_name);
170 * fetch the members of lp_jit_texture to fulfill the sampler code
174 * sampler code generator a reusable module without dependencies to
219 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument
221 FREE(sampler);
234 struct draw_llvm_sampler_soa *sampler local
256 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local
269 struct draw_llvm_sampler_soa *sampler; local
[all...]
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_state_sampler.c325 sampler_set_gen6_SAMPLER_STATE(struct ilo_state_sampler *sampler, argument
468 STATIC_ASSERT(ARRAY_SIZE(sampler->sampler) >= 3);
469 sampler->sampler[0] = dw0;
470 sampler->sampler[1] = dw1;
471 sampler->sampler[2] = dw3;
473 sampler
616 ilo_state_sampler_init(struct ilo_state_sampler *sampler, const struct ilo_dev *dev, const struct ilo_state_sampler_info *info) argument
632 ilo_state_sampler_init_disabled(struct ilo_state_sampler *sampler, const struct ilo_dev *dev) argument
651 ilo_state_sampler_set_surface(struct ilo_state_sampler *sampler, const struct ilo_dev *dev, const struct ilo_state_surface *surf) argument
[all...]
H A Dilo_state_sampler.h67 uint32_t sampler[3]; member in struct:ilo_state_sampler
85 ilo_state_sampler_init(struct ilo_state_sampler *sampler,
90 ilo_state_sampler_init_disabled(struct ilo_state_sampler *sampler,
94 ilo_state_sampler_set_surface(struct ilo_state_sampler *sampler,
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_sampler.c131 struct pipe_sampler_state *sampler,
149 memset(sampler, 0, sizeof(*sampler));
150 sampler->wrap_s = gl_wrap_xlate(msamp->WrapS);
151 sampler->wrap_t = gl_wrap_xlate(msamp->WrapT);
152 sampler->wrap_r = gl_wrap_xlate(msamp->WrapR);
154 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter);
155 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter);
156 sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter);
159 sampler
130 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument
266 struct pipe_sampler_state *sampler = samplers + unit; local
294 struct pipe_sampler_state *sampler = samplers + unit; local
[all...]
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.cpp180 const char* sampler = DE_NULL; local
187 case PROGRAM_2D_FLOAT: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord)"; break;
188 case PROGRAM_2D_INT: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))"; break;
189 case PROGRAM_2D_UINT: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))"; break;
190 case PROGRAM_2D_SHADOW: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(v_texCoord, u_ref)), 0.0, 0.0, 1.0)"; break;
191 case PROGRAM_2D_FLOAT_BIAS: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord, u_bias)"; break;
192 case PROGRAM_2D_INT_BIAS: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord, u_bias))"; break;
193 case PROGRAM_2D_UINT_BIAS: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord, u_bias))"; break;
194 case PROGRAM_2D_SHADOW_BIAS: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(v_texCoord, u_ref), u_bias), 0.0, 0.0, 1.0)"; break;
195 case PROGRAM_1D_FLOAT: sampler
[all...]
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.hpp113 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
114 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
115 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
116 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
117 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
118 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
119 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result);
121 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result);
122 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result);
123 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMod
[all...]
H A DtcuTexCompareVerifier.hpp55 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, const Vec4& result);
62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
H A DtcuTexture.hpp353 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const;
354 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const;
355 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const;
357 Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
358 Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
359 Vec4 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r, const IVec3& offset) const;
361 float sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const;
362 float sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const;
440 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod);
441 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, floa
518 sample(const Sampler& sampler, float s, float lod) const argument
523 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
528 sampleCompare(const Sampler& sampler, float ref, float s, float lod) const argument
533 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument
572 sample(const Sampler& sampler, float s, float t, float lod) const argument
577 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
582 sampleCompare(const Sampler& sampler, float ref, float s, float t, float lod) const argument
587 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
592 gatherOffsets(const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const argument
597 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const argument
671 sample(const Sampler& sampler, float s, float lod) const argument
676 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
681 sampleCompare(const Sampler& sampler, float ref, float s, float lod) const argument
686 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument
732 sample(const Sampler& sampler, float s, float t, float lod) const argument
737 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
742 sampleCompare(const Sampler& sampler, float ref, float s, float t, float lod) const argument
747 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
752 gatherOffsets(const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const argument
757 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const argument
828 sample(const Sampler& sampler, float s, float t, float p, float lod) const argument
833 sampleCompare(const Sampler& sampler, float ref, float s, float t, float r, float lod) const argument
838 gather(const Sampler& sampler, float s, float t, float r, int componentNdx) const argument
843 gatherCompare(const Sampler& sampler, float ref, float s, float t, float r) const argument
940 sample(const Sampler& sampler, float s, float t, float lod) const argument
945 sampleOffset(const Sampler& sampler, float s, float t, float lod, deInt32 offset) const argument
950 sampleCompare(const Sampler& sampler, float ref, float s, float t, float lod) const argument
955 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const argument
1001 sample(const Sampler& sampler, float s, float t, float r, float lod) const argument
1006 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const argument
1011 sampleCompare(const Sampler& sampler, float ref, float s, float t, float r, float lod) const argument
1016 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const argument
1021 gatherOffsets(const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const argument
1026 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, float r, const IVec2 (&offsets)[4]) const argument
1054 sample(const Sampler& sampler, float s, float t, float r, float lod) const argument
1059 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1100 sample(const Sampler& sampler, float s, float t, float r, float lod) const argument
1105 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1173 sample(const Sampler& sampler, float s, float t, float r, float q, float lod) const argument
1178 sampleOffset(const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
1183 sampleCompare(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod) const argument
1188 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
[all...]
H A DtcuTexLookupVerifier.cpp39 static bool isSamplerSupported (const Sampler& sampler) argument
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) argument
61 return sampleTextureBorder<ScalarType>(access.getFormat(), sampler);
65 inline Vector<float, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, int i, int j, int k) argument
74 return sampleTextureBorder<float>(access.getFormat(), sampler);
101 static void lookupQuad (ColorQuad& dst, const ConstPixelBufferAccess& level, const Sampler& sampler, in argument
115 lookupLine(ColorLine& dst, const ConstPixelBufferAccess& level, const Sampler& sampler, int x0, int x1, int y) argument
520 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const float coordX, const int coordY, const Vector<ScalarType, 4>& result) argument
547 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) argument
582 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) argument
622 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument
665 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument
725 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument
796 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coord, const int coordY, const Vec2& fBounds, const Vec4& result) argument
832 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument
882 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument
945 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec2& fBounds, const Vec4& result) argument
1024 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument
1126 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument
1253 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument
1267 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument
1281 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const float coordX, const int coordY, const Vec2& fBounds, const Vec4& result) argument
1297 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument
1313 isLookupResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument
1378 isLookupResultValid(const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result) argument
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
1665 isLookupResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument
1768 isLookupResultValid(const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument
1838 isLookupResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument
1908 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument
1921 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument
1936 isLookupResultValid(const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument
2013 isLookupResultValid(const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result) argument
2234 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument
2246 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result) argument
2259 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result) argument
2272 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument
2284 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result) argument
2297 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result) argument
2310 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument
2321 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result) argument
2333 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result) argument
2346 isGatherOffsetsResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument
2388 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument
2399 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument
2410 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument
2422 is2DArrayGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument
2439 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument
2450 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument
2461 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument
2473 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument
2530 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) argument
2556 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) argument
2566 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) argument
2576 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) argument
[all...]
/external/libxcam/cl_kernel/
H A Dkernel_demo.cl12 sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST;
15 uint4 pixel = read_imageui(input, sampler, pos);
/external/swiftshader/src/D3D9/
H A DDirect3DStateBlock9.cpp41 for(int sampler = 0; sampler < 16 + 4; sampler++)
43 texture[sampler] = 0;
176 for(int sampler = 0; sampler < 16 + 4; sampler++)
180 if(samplerStateCaptured[sampler][state])
182 int index = sampler < 16 ? sampler
711 unsigned int sampler = index < 16 ? index : (index - D3DVERTEXTEXTURESAMPLER0) + 16; local
747 unsigned int sampler = index < 16 ? index : (index - D3DVERTEXTEXTURESAMPLER0) + 16; local
977 unsigned int sampler = 16 + (index - D3DVERTEXTEXTURESAMPLER0); local
[all...]
/external/swiftshader/src/Renderer/
H A DVertexProcessor.cpp515 void VertexProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) argument
517 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS)
519 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setTextureFilter(textureFilter);
524 void VertexProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) argument
526 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS)
528 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapFilter(mipmapFilter);
533 void VertexProcessor::setGatherEnable(unsigned int sampler, bool enable) argument
535 if(sampler < VERTEX_TEXTURE_IMAGE_UNIT
542 setAddressingModeU(unsigned int sampler, AddressingMode addressMode) argument
551 setAddressingModeV(unsigned int sampler, AddressingMode addressMode) argument
560 setAddressingModeW(unsigned int sampler, AddressingMode addressMode) argument
569 setReadSRGB(unsigned int sampler, bool sRGB) argument
578 setMipmapLOD(unsigned int sampler, float bias) argument
587 setBorderColor(unsigned int sampler, const Color<float> &borderColor) argument
596 setMaxAnisotropy(unsigned int sampler, float maxAnisotropy) argument
605 setHighPrecisionFiltering(unsigned int sampler, bool highPrecisionFiltering) argument
614 setSwizzleR(unsigned int sampler, SwizzleType swizzleR) argument
623 setSwizzleG(unsigned int sampler, SwizzleType swizzleG) argument
632 setSwizzleB(unsigned int sampler, SwizzleType swizzleB) argument
641 setSwizzleA(unsigned int sampler, SwizzleType swizzleA) argument
650 setCompareFunc(unsigned int sampler, CompareFunc compFunc) argument
659 setBaseLevel(unsigned int sampler, int baseLevel) argument
668 setMaxLevel(unsigned int sampler, int maxLevel) argument
677 setMinLod(unsigned int sampler, float minLod) argument
686 setMaxLod(unsigned int sampler, float maxLod) argument
[all...]
H A DVertexProcessor.hpp94 Sampler::State sampler[VERTEX_TEXTURE_IMAGE_UNITS]; member in struct:sw::VertexProcessor::States
251 void setTextureFilter(unsigned int sampler, FilterType textureFilter);
252 void setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter);
253 void setGatherEnable(unsigned int sampler, bool enable);
254 void setAddressingModeU(unsigned int sampler, AddressingMode addressingMode);
255 void setAddressingModeV(unsigned int sampler, AddressingMode addressingMode);
256 void setAddressingModeW(unsigned int sampler, AddressingMode addressingMode);
257 void setReadSRGB(unsigned int sampler, bool sRGB);
258 void setMipmapLOD(unsigned int sampler, float bias);
259 void setBorderColor(unsigned int sampler, cons
[all...]
H A DPixelProcessor.cpp360 void PixelProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) argument
362 if(sampler < TEXTURE_IMAGE_UNITS)
364 context->sampler[sampler].setTextureFilter(textureFilter);
369 void PixelProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) argument
371 if(sampler < TEXTURE_IMAGE_UNITS)
373 context->sampler[sampler].setMipmapFilter(mipmapFilter);
378 void PixelProcessor::setGatherEnable(unsigned int sampler, bool enable) argument
380 if(sampler < TEXTURE_IMAGE_UNIT
387 setAddressingModeU(unsigned int sampler, AddressingMode addressMode) argument
396 setAddressingModeV(unsigned int sampler, AddressingMode addressMode) argument
405 setAddressingModeW(unsigned int sampler, AddressingMode addressMode) argument
414 setReadSRGB(unsigned int sampler, bool sRGB) argument
423 setMipmapLOD(unsigned int sampler, float bias) argument
432 setBorderColor(unsigned int sampler, const Color<float> &borderColor) argument
441 setMaxAnisotropy(unsigned int sampler, float maxAnisotropy) argument
450 setHighPrecisionFiltering(unsigned int sampler, bool highPrecisionFiltering) argument
459 setSwizzleR(unsigned int sampler, SwizzleType swizzleR) argument
468 setSwizzleG(unsigned int sampler, SwizzleType swizzleG) argument
477 setSwizzleB(unsigned int sampler, SwizzleType swizzleB) argument
486 setSwizzleA(unsigned int sampler, SwizzleType swizzleA) argument
495 setCompareFunc(unsigned int sampler, CompareFunc compFunc) argument
504 setBaseLevel(unsigned int sampler, int baseLevel) argument
513 setMaxLevel(unsigned int sampler, int maxLevel) argument
522 setMinLod(unsigned int sampler, float minLod) argument
531 setMaxLod(unsigned int sampler, float maxLod) argument
[all...]
H A DPixelProcessor.hpp89 Sampler::State sampler[TEXTURE_IMAGE_UNITS]; member in struct:sw::PixelProcessor::States
225 void setTextureFilter(unsigned int sampler, FilterType textureFilter);
226 void setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter);
227 void setGatherEnable(unsigned int sampler, bool enable);
228 void setAddressingModeU(unsigned int sampler, AddressingMode addressingMode);
229 void setAddressingModeV(unsigned int sampler, AddressingMode addressingMode);
230 void setAddressingModeW(unsigned int sampler, AddressingMode addressingMode);
231 void setReadSRGB(unsigned int sampler, bool sRGB);
232 void setMipmapLOD(unsigned int sampler, float bias);
233 void setBorderColor(unsigned int sampler, cons
[all...]
/external/mesa3d/src/mesa/main/
H A Dsamplerobj.h105 _mesa_IsSampler(GLuint sampler);
107 _mesa_BindSampler(GLuint unit, GLuint sampler);
111 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param);
113 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
115 _mesa_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params);
117 _mesa_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params);
119 _mesa_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params);
121 _mesa_SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *params);
123 _mesa_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params);
125 _mesa_GetSamplerParameterfv(GLuint sampler, GLenu
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_sampler_state.c230 const struct gl_sampler_object *sampler,
243 color.ui[0] = sampler->BorderColor.ui[0];
244 color.ui[1] = sampler->BorderColor.ui[0];
245 color.ui[2] = sampler->BorderColor.ui[0];
246 color.ui[3] = sampler->BorderColor.ui[0];
252 color.ui[3] = sampler->BorderColor.ui[3];
255 color.ui[0] = sampler->BorderColor.ui[0];
256 color.ui[1] = sampler->BorderColor.ui[0];
257 color.ui[2] = sampler->BorderColor.ui[0];
258 color.ui[3] = sampler
229 upload_default_color(struct brw_context *brw, const struct gl_sampler_object *sampler, mesa_format format, GLenum base_format, bool is_integer_format, bool is_stencil_sampling, uint32_t *sdc_offset) argument
408 brw_update_sampler_state(struct brw_context *brw, GLenum target, bool tex_cube_map_seamless, GLfloat tex_unit_lod_bias, mesa_format format, GLenum base_format, const struct gl_texture_object *texObj, const struct gl_sampler_object *sampler, uint32_t *sampler_state, uint32_t batch_offset_for_sampler_state) argument
568 const struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); local
[all...]
/external/deqp/framework/randomshaders/
H A DrsgSamplers.hpp43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument
45 , m_sampler (sampler)
68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument
70 , m_sampler (sampler)

Completed in 1224 milliseconds

1234567891011>>