/external/deqp/framework/common/ |
D | tcuTexVerifierUtil.hpp | 69 inline bool isNearestMipmapFilter(const Sampler::FilterMode mode) in isNearestMipmapFilter() 71 …return mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode =… in isNearestMipmapFilter() 74 inline bool isLinearMipmapFilter(const Sampler::FilterMode mode) in isLinearMipmapFilter() 76 …return mode == Sampler::NEAREST_MIPMAP_LINEAR || mode == Sampler::LINEAR_MIPMAP_LINEAR || mode == … in isLinearMipmapFilter() 79 inline bool isMipmapFilter(const Sampler::FilterMode mode) in isMipmapFilter() 84 inline bool isNearestFilter(const Sampler::FilterMode mode) in isNearestFilter() 86 …return mode == Sampler::NEAREST || mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::NEA… in isNearestFilter() 89 inline bool isLinearFilter(const Sampler::FilterMode mode) in isLinearFilter() 91 …return mode == Sampler::LINEAR || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode == Sampler::LINEA… in isLinearFilter() 94 inline bool isCubicFilter(const Sampler::FilterMode mode) in isCubicFilter() [all …]
|
D | tcuTexture.hpp | 189 class Sampler class 287 Sampler (WrapMode wrapS_, in Sampler() function in tcu::Sampler 316 Sampler (void) in Sampler() function in tcu::Sampler 384 …Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) con… 385 …Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int d… 386 …Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float… 388 …Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVe… 389 …Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, … 390 …Vec4 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, … 392 …float sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float… [all …]
|
D | tcuTexLookupVerifier.hpp | 114 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const Lookup… 115 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const Lookup… 116 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const Look… 117 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const Lo… 118 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const Lo… 119 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const Lookup… 120 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const L… 122 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, T… 123 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, T… 124 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, T… [all …]
|
D | tcuTexture.cpp | 1692 static inline int wrap (Sampler::WrapMode mode, int c, int size) in wrap() 1696 case tcu::Sampler::CLAMP_TO_BORDER: in wrap() 1699 case tcu::Sampler::CLAMP_TO_EDGE: in wrap() 1702 case tcu::Sampler::REPEAT_GL: in wrap() 1705 case tcu::Sampler::REPEAT_CL: in wrap() 1708 case tcu::Sampler::MIRRORED_ONCE: in wrap() 1712 case tcu::Sampler::MIRRORED_REPEAT_GL: in wrap() 1715 case tcu::Sampler::MIRRORED_REPEAT_CL: in wrap() 1725 static inline float unnormalize (Sampler::WrapMode mode, float c, int size) in unnormalize() 1729 case tcu::Sampler::CLAMP_TO_EDGE: in unnormalize() [all …]
|
D | tcuTexVerifierUtil.cpp | 125 Sampler getUnnormalizedCoordSampler (const Sampler& sampler) in getUnnormalizedCoordSampler() 127 Sampler copy = sampler; in getUnnormalizedCoordSampler() 143 int wrap (Sampler::WrapMode mode, int c, int size) in wrap() 149 case tcu::Sampler::CLAMP_TO_BORDER: in wrap() 152 case tcu::Sampler::CLAMP_TO_EDGE: in wrap() 155 case tcu::Sampler::REPEAT_GL: in wrap() 156 case tcu::Sampler::REPEAT_CL: in wrap() 159 case tcu::Sampler::MIRRORED_ONCE: in wrap() 163 case tcu::Sampler::MIRRORED_REPEAT_GL: in wrap() 164 case tcu::Sampler::MIRRORED_REPEAT_CL: in wrap()
|
/external/angle/src/libANGLE/ |
D | Sampler.cpp | 18 Sampler::Sampler(rx::GLImplFactory *factory, SamplerID id) in Sampler() function in gl::Sampler 26 Sampler::~Sampler() in ~Sampler() 31 void Sampler::onDestroy(const Context *context) in onDestroy() 39 void Sampler::setLabel(const Context *context, const std::string &label) in setLabel() 44 const std::string &Sampler::getLabel() const in getLabel() 49 void Sampler::setMinFilter(const Context *context, GLenum minFilter) in setMinFilter() 55 GLenum Sampler::getMinFilter() const in getMinFilter() 60 void Sampler::setMagFilter(const Context *context, GLenum magFilter) in setMagFilter() 66 GLenum Sampler::getMagFilter() const in getMagFilter() 71 void Sampler::setWrapS(const Context *context, GLenum wrapS) in setWrapS() [all …]
|
D | CLSampler.h | 17 class Sampler final : public _cl_sampler, public Object 27 ~Sampler() override; 39 Sampler(Context &context, 56 inline const Context &Sampler::getContext() const in getContext() 61 inline const Sampler::PropArray &Sampler::getProperties() const in getProperties() 66 inline cl_bool Sampler::getNormalizedCoords() const in getNormalizedCoords() 71 inline AddressingMode Sampler::getAddressingMode() const in getAddressingMode() 76 inline FilterMode Sampler::getFilterMode() const in getFilterMode() 82 inline T &Sampler::getImpl() const in getImpl()
|
/external/mesa3d/src/intel/tools/tests/gen6/ |
D | send.asm | 6 … sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; 8 … sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 8 rlen 8 { align1 1H }; 16 … sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 11 rlen 4 { align1 1Q }; 18 … sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 7 rlen 4 { align1 1Q }; 20 … sampler MsgDesc: sample_l_c SIMD8 Surface = 1 Sampler = 0 mlen 7 rlen 4 { align1 1Q }; 22 … sampler MsgDesc: sample_l_c SIMD8 Surface = 2 Sampler = 1 mlen 7 rlen 4 { align1 1Q }; 24 … sampler MsgDesc: ld SIMD4x2 Surface = 64 Sampler = 0 mlen 2 rlen 1 { align16 1Q }; 38 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; 40 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 4 rlen 8 { align1 1H }; 42 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 1 rlen 4 { align1 1Q }; [all …]
|
/external/swiftshader/src/Renderer/ |
D | Sampler.cpp | 27 FilterType Sampler::maximumTextureFilterQuality = FILTER_LINEAR; 28 MipmapType Sampler::maximumMipmapFilterQuality = MIPMAP_POINT; 30 Sampler::State::State() in State() 35 Sampler::Sampler() in Sampler() function in sw::Sampler 82 Sampler::~Sampler() in ~Sampler() 86 Sampler::State Sampler::samplerState() const in samplerState() 115 void Sampler::setTextureLevel(int face, int level, Surface *surface, TextureType type) in setTextureLevel() 256 void Sampler::setTextureFilter(FilterType textureFilter) in setTextureFilter() 261 void Sampler::setMipmapFilter(MipmapType mipmapFilter) in setMipmapFilter() 266 void Sampler::setGatherEnable(bool enable) in setGatherEnable() [all …]
|
/external/mesa3d/src/intel/tools/tests/gen7/ |
D | send.asm | 6 … sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; 8 … sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 8 rlen 8 { align1 1H }; 36 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; 38 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 6 rlen 8 { align1 1H }; 40 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; 42 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 4 rlen 8 { align1 1H }; 44 … sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 10 rlen 4 { align1 1Q }; 46 … sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; 48 … sampler MsgDesc: ld SIMD4x2 Surface = 0 Sampler = 0 mlen 1 rlen 1 { align16 1Q }; 50 … sampler MsgDesc: sample_l_c SIMD8 Surface = 1 Sampler = 0 mlen 5 rlen 4 { align1 1Q }; [all …]
|
/external/mesa3d/src/intel/tools/tests/gen5/ |
D | send.asm | 12 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 }; 14 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 6 rlen 8 { align1 }; 16 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 }; 18 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 4 rlen 8 { align1 }; 24 … sampler MsgDesc: resinfo SIMD8 Surface = 1 Sampler = 0 mlen 1 rlen 4 { align1 }; 26 … sampler MsgDesc: resinfo SIMD16 Surface = 1 Sampler = 0 mlen 2 rlen 8 { align1 }; 28 … sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 }; 30 … sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 8 rlen 8 { align1 }; 36 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 1 rlen 4 { align1 }; 38 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 2 rlen 8 { align1 }; [all …]
|
/external/mesa3d/src/intel/tools/tests/gen9/ |
D | sendc.asm | 8 … sampler MsgDesc: ld_lz SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 0 { align1 1Q EOT }; 10 … sampler MsgDesc: ld_lz SIMD16 Surface = 1 Sampler = 0 mlen 7 rlen 0 { align1 1H EOT }; 12 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 0 { align1 1Q EOT }; 14 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 5 rlen 0 { align1 1H EOT }; 18 … sampler MsgDesc: ld2dms SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 0 { align1 1Q EOT }; 20 … sampler MsgDesc: ld2dms SIMD16 Surface = 1 Sampler = 0 mlen 11 rlen 0 { align1 1H EOT }; 22 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 0 { align1 1Q EOT }; 24 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 7 rlen 0 { align1 1H EOT }; 26 … sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 10 rlen 0 { align1 1Q EOT }; 30 … sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 0 { align1 1Q EOT }; [all …]
|
/external/mesa3d/src/intel/tools/tests/gen7.5/ |
D | send.asm | 6 … sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; 8 … sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 8 rlen 8 { align1 1H }; 30 … sampler MsgDesc: ld SIMD4x2 Surface = 0 Sampler = 0 mlen 1 rlen 1 { align16 1Q }; 42 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; 44 … sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 4 rlen 8 { align1 1H }; 46 … sampler MsgDesc: ld_mcs SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; 48 … sampler MsgDesc: ld_mcs SIMD16 Surface = 1 Sampler = 0 mlen 6 rlen 8 { align1 1H }; 50 … sampler MsgDesc: ld2dms SIMD8 Surface = 1 Sampler = 0 mlen 5 rlen 4 { align1 1Q }; 52 … sampler MsgDesc: ld2dms SIMD16 Surface = 1 Sampler = 0 mlen 10 rlen 8 { align1 1H }; 54 … sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 53 …:Sampler::Sampler::CUBIC || testParameters.minFilter == tcu::Sampler::Sampler::CUBIC_MIPMAP_NEARES… in checkTextureSupport() 54 testParameters.magFilter == tcu::Sampler::Sampler::CUBIC) in checkTextureSupport() 108 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport() 115 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport() 122 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport() 129 …cu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::MIRRORED_ONC… in checkTextureSupport() 141 using tcu::Sampler; 236 …etEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, 0), tcu::Sampler::MODE_STENCIL), g… in Texture2DFilteringTestInstance() 250 …etEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sampler::MODE_STENCIL), 4… in Texture2DFilteringTestInstance() 313 refParams.sampler.depthStencilMode = tcu::Sampler::MODE_STENCIL; in iterate() [all …]
|
D | vktTextureFilteringAnisotropyTests.cpp | 45 using tcu::Sampler; 59 const Sampler::FilterMode minFilter_, in AnisotropyParams() 60 const Sampler::FilterMode magFilter_, in AnisotropyParams() 71 Sampler::FilterMode minFilter; 72 Sampler::FilterMode magFilter; 84 …m_refParams.sampler = util::createSampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, m_refP… in FilteringAnisotropyInstance() 142 …if (m_refParams.minFilter != tcu::Sampler::NEAREST && m_refParams.magFilter != tcu::Sampler::NEARE… in iterate() 209 const tcu::Sampler::FilterMode magFilters[] = in createFilteringAnisotropyTests() 211 Sampler::NEAREST, in createFilteringAnisotropyTests() 212 Sampler::LINEAR in createFilteringAnisotropyTests() [all …]
|
D | vktTextureTestUtil.hpp | 294 …Sampler createSampler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::WrapMode wrapV, tcu::Sampler::W… 295 tcu::Sampler createSampler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::WrapMode wrapV, tcu::Sample… 296 tcu::Sampler createSampler (tcu::Sampler::WrapMode wrapU, tcu::Sampler::FilterMode minFilterMode, t… 345 tcu::Sampler::FilterMode minFilter; 346 tcu::Sampler::FilterMode magFilter; 347 tcu::Sampler::WrapMode wrapS; 348 tcu::Sampler::WrapMode wrapT; 381 tcu::Sampler::WrapMode wrapR;
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | MultiplyAlpha.hlsl | 12 SamplerState Sampler : register(s0); 21 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 28 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 40 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 47 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 58 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 65 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 76 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 84 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; 95 float4 color = TextureF.Sample(Sampler, inTexCoord).rgba; [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
D | SamplersTest.java | 22 import io.opencensus.trace.Sampler; 127 Sampler sampler, SpanContext parent, List<Span> parentLinks, double probability) { in assertSamplerSamplesWithProbability() 149 final Sampler neverSample = Samplers.probabilitySampler(0.0); in probabilitySampler_DifferentProbabilities_NotSampledParent() 152 final Sampler alwaysSample = Samplers.probabilitySampler(1.0); in probabilitySampler_DifferentProbabilities_NotSampledParent() 155 final Sampler fiftyPercentSample = Samplers.probabilitySampler(0.5); in probabilitySampler_DifferentProbabilities_NotSampledParent() 158 final Sampler twentyPercentSample = Samplers.probabilitySampler(0.2); in probabilitySampler_DifferentProbabilities_NotSampledParent() 161 final Sampler twoThirdsSample = Samplers.probabilitySampler(2.0 / 3.0); in probabilitySampler_DifferentProbabilities_NotSampledParent() 168 final Sampler neverSample = Samplers.probabilitySampler(0.0); in probabilitySampler_DifferentProbabilities_SampledParent() 171 final Sampler alwaysSample = Samplers.probabilitySampler(1.0); in probabilitySampler_DifferentProbabilities_SampledParent() 174 final Sampler fiftyPercentSample = Samplers.probabilitySampler(0.5); in probabilitySampler_DifferentProbabilities_SampledParent() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isDepthFormat() 111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH); in isDepthFormat() 114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH) in isDepthFormat() 121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isStencilFormat() 139 DE_ASSERT(mode == tcu::Sampler::MODE_STENCIL); in isStencilFormat() 142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL) in isStencilFormat() 149 tcu::TextureChannelClass getFormatChannelClass (deUint32 format, tcu::Sampler::DepthStencilMode mod… in getFormatChannelClass() 288 …if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler:… in genDummyTexture() 294 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH)) in genDummyTexture() 297 …cu::getEffectiveDepthStencilAccess(texture->getRefTexture().getLevel(0), tcu::Sampler::MODE_DEPTH); in genDummyTexture() [all …]
|
D | es31fSRGBDecodeTests.cpp | 304 const tcu::Sampler::WrapMode wrapS, 305 const tcu::Sampler::WrapMode wrapT, 306 const tcu::Sampler::FilterMode minFilter, 307 const tcu::Sampler::FilterMode magFilter, 322 tcu::Sampler::WrapMode m_wrapS; 323 tcu::Sampler::WrapMode m_wrapT; 324 tcu::Sampler::FilterMode m_minFilter; 325 tcu::Sampler::FilterMode m_magFilter; 332 const tcu::Sampler::WrapMode wrapS, in SRGBTestSampler() 333 const tcu::Sampler::WrapMode wrapT, in SRGBTestSampler() [all …]
|
D | es31fTextureGatherTests.cpp | 525 …larType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const V… in gatherOffsets() 531 …pe, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const V… in gatherOffsets() 537 …rType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const V… in gatherOffsets() 544 static Vec4 gatherOffsetsCompare (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, f… in gatherOffsetsCompare() 549 static Vec4 gatherOffsetsCompare (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampl… in gatherOffsetsCompare() 554 static Vec4 gatherOffsetsCompare (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler,… in gatherOffsetsCompare() 563 const tcu::Sampler& sampler, in isGatherOffsetsResultValid() 576 const tcu::Sampler& sampler, in isGatherOffsetsCompareResultValid() 593 const tcu::Sampler& sampler, in verifyGatherOffsets() 673 const tcu::Sampler& sampler, in verifyGatherOffsetsCompare() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 556 …larType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const V… in gatherOffsets() 562 …pe, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const V… in gatherOffsets() 568 …rType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const V… in gatherOffsets() 575 static Vec4 gatherOffsetsCompare (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, f… in gatherOffsetsCompare() 580 static Vec4 gatherOffsetsCompare (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampl… in gatherOffsetsCompare() 585 static Vec4 gatherOffsetsCompare (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler,… in gatherOffsetsCompare() 594 const tcu::Sampler& sampler, in isGatherOffsetsResultValid() 607 const tcu::Sampler& sampler, in isGatherOffsetsCompareResultValid() 624 const tcu::Sampler& sampler, in verifyGatherOffsets() 704 const tcu::Sampler& sampler, in verifyGatherOffsetsCompare() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 622 static inline tcu::Sampler::WrapMode mapGLWrapMode (deUint32 wrapMode) in mapGLWrapMode() 626 case GL_CLAMP_TO_EDGE: return tcu::Sampler::CLAMP_TO_EDGE; in mapGLWrapMode() 627 case GL_CLAMP_TO_BORDER: return tcu::Sampler::CLAMP_TO_BORDER; in mapGLWrapMode() 628 case GL_REPEAT: return tcu::Sampler::REPEAT_GL; in mapGLWrapMode() 629 case GL_MIRRORED_REPEAT: return tcu::Sampler::MIRRORED_REPEAT_GL; in mapGLWrapMode() 635 static inline tcu::Sampler::FilterMode mapGLMinFilterMode (deUint32 filterMode) in mapGLMinFilterMode() 639 case GL_NEAREST: return tcu::Sampler::NEAREST; in mapGLMinFilterMode() 640 case GL_LINEAR: return tcu::Sampler::LINEAR; in mapGLMinFilterMode() 641 case GL_NEAREST_MIPMAP_NEAREST: return tcu::Sampler::NEAREST_MIPMAP_NEAREST; in mapGLMinFilterMode() 642 case GL_NEAREST_MIPMAP_LINEAR: return tcu::Sampler::NEAREST_MIPMAP_LINEAR; in mapGLMinFilterMode() [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/ |
D | Samplers.java | 19 import io.opencensus.trace.Sampler; 28 private static final Sampler ALWAYS_SAMPLE = new AlwaysSampleSampler(); 29 private static final Sampler NEVER_SAMPLE = new NeverSampleSampler(); 40 public static Sampler alwaysSample() { in alwaysSample() 50 public static Sampler neverSample() { in neverSample() 62 public static Sampler probabilitySampler(double probability) { in probabilitySampler()
|
/external/llvm-project/llvm/unittests/FuzzMutate/ |
D | ReservoirSamplerTest.cpp | 17 auto Sampler = makeSampler(Rand, 7, 1); in TEST() local 18 ASSERT_FALSE(Sampler.isEmpty()); in TEST() 19 ASSERT_EQ(7, Sampler.getSelection()); in TEST() 24 auto Sampler = makeSampler(Rand, 7, 0); in TEST() local 25 ASSERT_TRUE(Sampler.isEmpty()); in TEST() 43 auto Sampler = makeSampler(Rand, Items); in TEST() local 44 Counts[Sampler.getSelection()] += 1; in TEST()
|