Lines Matching refs:Sampler
1598 static inline int wrap (Sampler::WrapMode mode, int c, int size) in wrap()
1602 case tcu::Sampler::CLAMP_TO_BORDER: in wrap()
1605 case tcu::Sampler::CLAMP_TO_EDGE: in wrap()
1608 case tcu::Sampler::REPEAT_GL: in wrap()
1611 case tcu::Sampler::REPEAT_CL: in wrap()
1614 case tcu::Sampler::MIRRORED_ONCE: in wrap()
1618 case tcu::Sampler::MIRRORED_REPEAT_GL: in wrap()
1621 case tcu::Sampler::MIRRORED_REPEAT_CL: in wrap()
1631 static inline float unnormalize (Sampler::WrapMode mode, float c, int size) in unnormalize()
1635 case tcu::Sampler::CLAMP_TO_EDGE: in unnormalize()
1636 case tcu::Sampler::CLAMP_TO_BORDER: in unnormalize()
1637 case tcu::Sampler::REPEAT_GL: in unnormalize()
1638 case tcu::Sampler::MIRRORED_REPEAT_GL: in unnormalize()
1639 case tcu::Sampler::MIRRORED_ONCE: // Fall-through (ordinary case). in unnormalize()
1642 case tcu::Sampler::REPEAT_CL: in unnormalize()
1645 case tcu::Sampler::MIRRORED_REPEAT_CL: in unnormalize()
1691 static inline Vec4 lookupBorder (const tcu::TextureFormat& format, const tcu::Sampler& sampler) in lookupBorder()
1716 static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx,… in execCompare()
1725 case Sampler::COMPAREMODE_LESS: res = ref < cmp; break; in execCompare()
1726 case Sampler::COMPAREMODE_LESS_OR_EQUAL: res = ref <= cmp; break; in execCompare()
1727 case Sampler::COMPAREMODE_GREATER: res = ref > cmp; break; in execCompare()
1728 case Sampler::COMPAREMODE_GREATER_OR_EQUAL: res = ref >= cmp; break; in execCompare()
1729 case Sampler::COMPAREMODE_EQUAL: res = ref == cmp; break; in execCompare()
1730 case Sampler::COMPAREMODE_NOT_EQUAL: res = ref != cmp; break; in execCompare()
1731 case Sampler::COMPAREMODE_ALWAYS: res = true; break; in execCompare()
1732 case Sampler::COMPAREMODE_NEVER: res = false; break; in execCompare()
1740 static Vec4 sampleNearest1D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest1D()
1747 if (sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) in sampleNearest1D()
1755 static Vec4 sampleNearest2D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest2D()
1764 if ((sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) || in sampleNearest2D()
1765 (sampler.wrapT == Sampler::CLAMP_TO_BORDER && !deInBounds32(y, 0, height))) in sampleNearest2D()
1774 static Vec4 sampleNearest3D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest3D()
1785 if ((sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) || in sampleNearest3D()
1786 (sampler.wrapT == Sampler::CLAMP_TO_BORDER && !deInBounds32(y, 0, height)) || in sampleNearest3D()
1787 (sampler.wrapR == Sampler::CLAMP_TO_BORDER && !deInBounds32(z, 0, depth))) in sampleNearest3D()
1797 static Vec4 sampleLinear1D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, … in sampleLinear1D()
1809 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear1D()
1810 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear1D()
1820 static Vec4 sampleLinear2D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, … in sampleLinear2D()
1838 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear2D()
1839 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear2D()
1840 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, h); in sampleLinear2D()
1841 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, h); in sampleLinear2D()
1856 static float sampleLinear1DCompare (const ConstPixelBufferAccess& access, const Sampler& sampler, f… in sampleLinear1DCompare()
1868 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear1DCompare()
1869 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear1DCompare()
1883 static float sampleLinear2DCompare (const ConstPixelBufferAccess& access, const Sampler& sampler, f… in sampleLinear2DCompare()
1901 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear2DCompare()
1902 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear2DCompare()
1903 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, h); in sampleLinear2DCompare()
1904 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, h); in sampleLinear2DCompare()
1925 static Vec4 sampleLinear3D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, … in sampleLinear3D()
1949 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, width); in sampleLinear3D()
1950 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, width); in sampleLinear3D()
1951 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, height); in sampleLinear3D()
1952 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, height); in sampleLinear3D()
1953 bool k0UseBorder = sampler.wrapR == Sampler::CLAMP_TO_BORDER && !de::inBounds(k0, 0, depth); in sampleLinear3D()
1954 bool k1UseBorder = sampler.wrapR == Sampler::CLAMP_TO_BORDER && !de::inBounds(k1, 0, depth); in sampleLinear3D()
1977 Vec4 ConstPixelBufferAccess::sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s,… in sample1D()
1985 Vec4 ConstPixelBufferAccess::sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s,… in sample2D()
1993 Vec4 ConstPixelBufferAccess::sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s,… in sample3D()
1998 Vec4 ConstPixelBufferAccess::sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, fl… in sample1DOffset()
2012 case Sampler::NEAREST: return sampleNearest1D (*this, sampler, u, offset); in sample1DOffset()
2013 case Sampler::LINEAR: return sampleLinear1D (*this, sampler, u, offset); in sample1DOffset()
2020 Vec4 ConstPixelBufferAccess::sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, fl… in sample2DOffset()
2038 case Sampler::NEAREST: return sampleNearest2D (*this, sampler, u, v, offset); in sample2DOffset()
2039 case Sampler::LINEAR: return sampleLinear2D (*this, sampler, u, v, offset); in sample2DOffset()
2046 Vec4 ConstPixelBufferAccess::sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, fl… in sample3DOffset()
2062 case Sampler::NEAREST: return sampleNearest3D (*this, sampler, u, v, w, offset); in sample3DOffset()
2063 case Sampler::LINEAR: return sampleLinear3D (*this, sampler, u, v, w, offset); in sample3DOffset()
2070 float ConstPixelBufferAccess::sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, … in sample1DCompare()
2087 …case Sampler::NEAREST: return execCompare(sampleNearest1D(*this, sampler, u, offset), sampler.comp… in sample1DCompare()
2088 …case Sampler::LINEAR: return sampleLinear1DCompare(*this, sampler, ref, u, offset, isFixedPointDep… in sample1DCompare()
2095 float ConstPixelBufferAccess::sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, … in sample2DCompare()
2116 …case Sampler::NEAREST: return execCompare(sampleNearest2D(*this, sampler, u, v, offset), sampler.c… in sample2DCompare()
2117 …case Sampler::LINEAR: return sampleLinear2DCompare(*this, sampler, ref, u, v, offset, isFixedPoint… in sample2DCompare()
2162 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D()
2167 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D()
2172 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D()
2177 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset()
2180 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray1DOffset()
2184 case Sampler::NEAREST: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2185 case Sampler::LINEAR: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2187 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray1DOffset()
2188 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray1DOffset()
2192 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray1DOffset()
2197 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray1DOffset()
2198 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray1DOffset()
2203 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray1DOffset()
2217 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray2DOffset()
2220 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray2DOffset()
2224 case Sampler::NEAREST: return levels[0].sample2DOffset(sampler, filterMode, s, t, offset); in sampleLevelArray2DOffset()
2225 case Sampler::LINEAR: return levels[0].sample2DOffset(sampler, filterMode, s, t, offset); in sampleLevelArray2DOffset()
2227 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray2DOffset()
2228 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray2DOffset()
2232 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray2DOffset()
2237 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray2DOffset()
2238 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray2DOffset()
2243 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray2DOffset()
2257 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray3DOffset()
2260 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray3DOffset()
2264 case Sampler::NEAREST: return levels[0].sample3DOffset(sampler, filterMode, s, t, r, offset); in sampleLevelArray3DOffset()
2265 case Sampler::LINEAR: return levels[0].sample3DOffset(sampler, filterMode, s, t, r, offset); in sampleLevelArray3DOffset()
2267 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray3DOffset()
2268 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray3DOffset()
2272 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray3DOffset()
2277 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray3DOffset()
2278 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray3DOffset()
2283 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray3DOffset()
2297 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler… in sampleLevelArray1DCompare()
2300 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray1DCompare()
2304 case Sampler::NEAREST: return levels[0].sample1DCompare(sampler, filterMode, ref, s, offset); in sampleLevelArray1DCompare()
2305 case Sampler::LINEAR: return levels[0].sample1DCompare(sampler, filterMode, ref, s, offset); in sampleLevelArray1DCompare()
2307 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray1DCompare()
2308 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray1DCompare()
2312 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray1DCompare()
2317 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray1DCompare()
2318 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray1DCompare()
2323 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray1DCompare()
2337 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler… in sampleLevelArray2DCompare()
2340 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray2DCompare()
2344 case Sampler::NEAREST: return levels[0].sample2DCompare(sampler, filterMode, ref, s, t, offset); in sampleLevelArray2DCompare()
2345 case Sampler::LINEAR: return levels[0].sample2DCompare(sampler, filterMode, ref, s, t, offset); in sampleLevelArray2DCompare()
2347 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray2DCompare()
2348 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray2DCompare()
2352 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray2DCompare()
2357 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray2DCompare()
2358 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray2DCompare()
2363 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray2DCompare()
2377 static Vec4 fetchGatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, f… in fetchGatherArray2DOffsets()
2407 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, floa… in gatherArray2DOffsets()
2409 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gatherArray2DOffsets()
2415 Vec4 gatherArray2DOffsetsCompare (const ConstPixelBufferAccess& src, const Sampler& sampler, float … in gatherArray2DOffsetsCompare()
2417 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherArray2DOffsetsCompare()
2431 static Vec4 sampleCubeSeamlessNearest (const ConstPixelBufferAccess& faceAccess, const Sampler& sam… in sampleCubeSeamlessNearest()
2433 Sampler clampingSampler = sampler; in sampleCubeSeamlessNearest()
2434 clampingSampler.wrapS = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearest()
2435 clampingSampler.wrapT = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearest()
2436 return faceAccess.sample2D(clampingSampler, Sampler::NEAREST, s, t, depth); in sampleCubeSeamlessNearest()
2532 IVec2 coords(wrap(Sampler::CLAMP_TO_BORDER, origCoords.s, size), in remapCubeEdgeCoords()
2533 wrap(Sampler::CLAMP_TO_BORDER, origCoords.t, size)); in remapCubeEdgeCoords()
2632 …xelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float s… in sampleCubeSeamlessLinear()
2663 …cess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s… in sampleLevelArrayCubeSeamless()
2666 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArrayCubeSeamless()
2670 case Sampler::NEAREST: in sampleLevelArrayCubeSeamless()
2673 case Sampler::LINEAR: in sampleLevelArrayCubeSeamless()
2682 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamless()
2683 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamless()
2687 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleLevelArrayCubeSeamless()
2689 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamless()
2693 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
2703 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamless()
2704 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamless()
2709 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleLevelArrayCubeSeamless()
2714 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamless()
2721 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
2744 …eSeamlessNearestCompare (const ConstPixelBufferAccess& faceAccess, const Sampler& sampler, float r… in sampleCubeSeamlessNearestCompare()
2746 Sampler clampingSampler = sampler; in sampleCubeSeamlessNearestCompare()
2747 clampingSampler.wrapS = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearestCompare()
2748 clampingSampler.wrapT = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearestCompare()
2749 …return faceAccess.sample2DCompare(clampingSampler, Sampler::NEAREST, ref, s, t, IVec3(0, 0, depth)… in sampleCubeSeamlessNearestCompare()
2752 …xelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float r… in sampleCubeSeamlessLinearCompare()
2833 …cess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float r… in sampleLevelArrayCubeSeamlessCompare()
2836 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArrayCubeSeamlessCompare()
2840 case Sampler::NEAREST: in sampleLevelArrayCubeSeamlessCompare()
2843 case Sampler::LINEAR: in sampleLevelArrayCubeSeamlessCompare()
2852 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamlessCompare()
2853 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamlessCompare()
2857 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleLevelArrayCubeSeamlessCompare()
2859 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamlessCompare()
2863 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
2873 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamlessCompare()
2874 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamlessCompare()
2879 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleLevelArrayCubeSeamlessCompare()
2884 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamlessCompare()
2891 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
2924 …fferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float s… in sampleCubeArraySeamless()
2928 const Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleCubeArraySeamless()
2932 case Sampler::NEAREST: in sampleCubeArraySeamless()
2935 case Sampler::LINEAR: in sampleCubeArraySeamless()
2944 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleCubeArraySeamless()
2945 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleCubeArraySeamless()
2949 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleCubeArraySeamless()
2951 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamless()
2955 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
2965 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleCubeArraySeamless()
2966 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleCubeArraySeamless()
2971 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleCubeArraySeamless()
2976 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamless()
2983 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
3006 …fferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float r… in sampleCubeArraySeamlessCompare()
3010 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleCubeArraySeamlessCompare()
3014 case Sampler::NEAREST: in sampleCubeArraySeamlessCompare()
3017 case Sampler::LINEAR: in sampleCubeArraySeamlessCompare()
3026 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleCubeArraySeamlessCompare()
3027 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleCubeArraySeamlessCompare()
3031 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleCubeArraySeamlessCompare()
3033 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamlessCompare()
3037 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
3047 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleCubeArraySeamlessCompare()
3048 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleCubeArraySeamlessCompare()
3053 …Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleCubeArraySeamlessCompare()
3058 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamlessCompare()
3065 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
3293 tcu::Vec4 TextureCubeView::sample (const Sampler& sampler, float s, float t, float r, float lod) co… in sample()
3295 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
3305 float TextureCubeView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float r,… in sampleCompare()
3307 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()
3317 Vec4 TextureCubeView::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) … in gather()
3319 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gather()
3348 Vec4 TextureCubeView::gatherCompare (const Sampler& sampler, float ref, float s, float t, float r) … in gatherCompare()
3350 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherCompare()
3354 Sampler noCompareSampler = sampler; in gatherCompare()
3355 noCompareSampler.compare = Sampler::COMPAREMODE_NONE; in gatherCompare()
3488 Vec4 Texture1DArrayView::sample (const Sampler& sampler, float s, float t, float lod) const in sample()
3493 Vec4 Texture1DArrayView::sampleOffset (const Sampler& sampler, float s, float t, float lod, deInt32… in sampleOffset()
3498 float Texture1DArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float… in sampleCompare()
3503 float Texture1DArrayView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t,… in sampleCompareOffset()
3522 Vec4 Texture2DArrayView::sample (const Sampler& sampler, float s, float t, float r, float lod) const in sample()
3527 float Texture2DArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float… in sampleCompare()
3532 Vec4 Texture2DArrayView::sampleOffset (const Sampler& sampler, float s, float t, float r, float lod… in sampleOffset()
3537 float Texture2DArrayView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t,… in sampleCompareOffset()
3542 Vec4 Texture2DArrayView::gatherOffsets (const Sampler& sampler, float s, float t, float r, int comp… in gatherOffsets()
3547 Vec4 Texture2DArrayView::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float t,… in gatherOffsetsCompare()
3720 tcu::Vec4 TextureCubeArrayView::sample (const Sampler& sampler, float s, float t, float r, float q,… in sample()
3726 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
3734 float TextureCubeArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, flo… in sampleCompare()
3740 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()