• Home
  • Raw
  • Download

Lines Matching refs:Sampler

1758 static inline int wrap (Sampler::WrapMode mode, int c, int size)  in wrap()
1762 case tcu::Sampler::CLAMP_TO_BORDER: in wrap()
1765 case tcu::Sampler::CLAMP_TO_EDGE: in wrap()
1768 case tcu::Sampler::REPEAT_GL: in wrap()
1771 case tcu::Sampler::REPEAT_CL: in wrap()
1774 case tcu::Sampler::MIRRORED_ONCE: in wrap()
1778 case tcu::Sampler::MIRRORED_REPEAT_GL: in wrap()
1781 case tcu::Sampler::MIRRORED_REPEAT_CL: in wrap()
1791 static inline float unnormalize (Sampler::WrapMode mode, float c, int size) in unnormalize()
1795 case tcu::Sampler::CLAMP_TO_EDGE: in unnormalize()
1796 case tcu::Sampler::CLAMP_TO_BORDER: in unnormalize()
1797 case tcu::Sampler::REPEAT_GL: in unnormalize()
1798 case tcu::Sampler::MIRRORED_REPEAT_GL: in unnormalize()
1799 case tcu::Sampler::MIRRORED_ONCE: // Fall-through (ordinary case). in unnormalize()
1802 case tcu::Sampler::REPEAT_CL: in unnormalize()
1805 case tcu::Sampler::MIRRORED_REPEAT_CL: in unnormalize()
1851 static inline Vec4 lookupBorder (const tcu::TextureFormat& format, const tcu::Sampler& sampler) in lookupBorder()
1876 static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx,… in execCompare()
1885 case Sampler::COMPAREMODE_LESS: res = ref < cmp; break; in execCompare()
1886 case Sampler::COMPAREMODE_LESS_OR_EQUAL: res = ref <= cmp; break; in execCompare()
1887 case Sampler::COMPAREMODE_GREATER: res = ref > cmp; break; in execCompare()
1888 case Sampler::COMPAREMODE_GREATER_OR_EQUAL: res = ref >= cmp; break; in execCompare()
1889 case Sampler::COMPAREMODE_EQUAL: res = ref == cmp; break; in execCompare()
1890 case Sampler::COMPAREMODE_NOT_EQUAL: res = ref != cmp; break; in execCompare()
1891 case Sampler::COMPAREMODE_ALWAYS: res = true; break; in execCompare()
1892 case Sampler::COMPAREMODE_NEVER: res = false; break; in execCompare()
1900 static Vec4 sampleNearest1D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest1D()
1907 if (sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) in sampleNearest1D()
1915 static Vec4 sampleNearest2D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest2D()
1924 if ((sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) || in sampleNearest2D()
1925 (sampler.wrapT == Sampler::CLAMP_TO_BORDER && !deInBounds32(y, 0, height))) in sampleNearest2D()
1934 static Vec4 sampleNearest3D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest3D()
1945 if ((sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) || in sampleNearest3D()
1946 (sampler.wrapT == Sampler::CLAMP_TO_BORDER && !deInBounds32(y, 0, height)) || in sampleNearest3D()
1947 (sampler.wrapR == Sampler::CLAMP_TO_BORDER && !deInBounds32(z, 0, depth))) in sampleNearest3D()
1957 static Vec4 sampleLinear1D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, … in sampleLinear1D()
1969 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear1D()
1970 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear1D()
1980 static Vec4 sampleCubic1D(const ConstPixelBufferAccess& access, const Sampler& sampler, float u, co… in sampleCubic1D()
1996 iUseBorder[m] = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i[m], 0, width); in sampleCubic1D()
2018 static Vec4 sampleLinear2D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, … in sampleLinear2D()
2036 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear2D()
2037 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear2D()
2038 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, h); in sampleLinear2D()
2039 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, h); in sampleLinear2D()
2054 static Vec4 sampleCubic2D(const ConstPixelBufferAccess& access, const Sampler& sampler, float u, fl… in sampleCubic2D()
2077 iUseBorder[m] = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i[m], 0, width); in sampleCubic2D()
2079 jUseBorder[n] = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j[n], 0, height); in sampleCubic2D()
2105 static float sampleLinear1DCompare (const ConstPixelBufferAccess& access, const Sampler& sampler, f… in sampleLinear1DCompare()
2117 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear1DCompare()
2118 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear1DCompare()
2132 static float sampleLinear2DCompare (const ConstPixelBufferAccess& access, const Sampler& sampler, f… in sampleLinear2DCompare()
2150 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, w); in sampleLinear2DCompare()
2151 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, w); in sampleLinear2DCompare()
2152 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, h); in sampleLinear2DCompare()
2153 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, h); in sampleLinear2DCompare()
2174 static Vec4 sampleLinear3D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u, … in sampleLinear3D()
2198 bool i0UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i0, 0, width); in sampleLinear3D()
2199 bool i1UseBorder = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i1, 0, width); in sampleLinear3D()
2200 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, height); in sampleLinear3D()
2201 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, height); in sampleLinear3D()
2202 bool k0UseBorder = sampler.wrapR == Sampler::CLAMP_TO_BORDER && !de::inBounds(k0, 0, depth); in sampleLinear3D()
2203 bool k1UseBorder = sampler.wrapR == Sampler::CLAMP_TO_BORDER && !de::inBounds(k1, 0, depth); in sampleLinear3D()
2226 static Vec4 sampleCubic3D(const ConstPixelBufferAccess& access, const Sampler& sampler, float u, fl… in sampleCubic3D()
2256 iUseBorder[m] = sampler.wrapS == Sampler::CLAMP_TO_BORDER && !de::inBounds(i[m], 0, width); in sampleCubic3D()
2258 jUseBorder[n] = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j[n], 0, height); in sampleCubic3D()
2260 kUseBorder[o] = sampler.wrapR == Sampler::CLAMP_TO_BORDER && !de::inBounds(k[o], 0, depth); in sampleCubic3D()
2290 Vec4 ConstPixelBufferAccess::sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s,… in sample1D()
2298 Vec4 ConstPixelBufferAccess::sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s,… in sample2D()
2306 Vec4 ConstPixelBufferAccess::sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s,… in sample3D()
2311 Vec4 ConstPixelBufferAccess::sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, fl… in sample1DOffset()
2325 case Sampler::NEAREST: return sampleNearest1D (*this, sampler, u, offset); in sample1DOffset()
2326 case Sampler::LINEAR: return sampleLinear1D (*this, sampler, u, offset); in sample1DOffset()
2327 case Sampler::CUBIC: return sampleCubic1D (*this, sampler, u, offset); in sample1DOffset()
2334 Vec4 ConstPixelBufferAccess::sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, fl… in sample2DOffset()
2352 case Sampler::NEAREST: return sampleNearest2D (*this, sampler, u, v, offset); in sample2DOffset()
2353 case Sampler::LINEAR: return sampleLinear2D (*this, sampler, u, v, offset); in sample2DOffset()
2354 case Sampler::CUBIC: return sampleCubic2D (*this, sampler, u, v, offset); in sample2DOffset()
2361 Vec4 ConstPixelBufferAccess::sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, fl… in sample3DOffset()
2377 case Sampler::NEAREST: return sampleNearest3D (*this, sampler, u, v, w, offset); in sample3DOffset()
2378 case Sampler::LINEAR: return sampleLinear3D (*this, sampler, u, v, w, offset); in sample3DOffset()
2379 case Sampler::CUBIC: return sampleCubic3D (*this, sampler, u, v, w, offset); in sample3DOffset()
2386 float ConstPixelBufferAccess::sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, … in sample1DCompare()
2403 …case Sampler::NEAREST: return execCompare(sampleNearest1D(*this, sampler, u, offset), sampler.comp… in sample1DCompare()
2404 …case Sampler::LINEAR: return sampleLinear1DCompare(*this, sampler, ref, u, offset, isFixedPointDep… in sample1DCompare()
2411 float ConstPixelBufferAccess::sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, … in sample2DCompare()
2432 …case Sampler::NEAREST: return execCompare(sampleNearest2D(*this, sampler, u, v, offset), sampler.c… in sample2DCompare()
2433 …case Sampler::LINEAR: return sampleLinear2DCompare(*this, sampler, ref, u, v, offset, isFixedPoint… in sample2DCompare()
2478 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D()
2483 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D()
2488 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D()
2493 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset()
2496 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray1DOffset()
2500 case Sampler::NEAREST: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2501 case Sampler::LINEAR: return levels[0].sample1DOffset(sampler, filterMode, s, offset); in sampleLevelArray1DOffset()
2503 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray1DOffset()
2504 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray1DOffset()
2508Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray1DOffset()
2513 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray1DOffset()
2514 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray1DOffset()
2519Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray1DOffset()
2533 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray2DOffset()
2537 if (es2 && sampler.magFilter == Sampler::LINEAR && in sampleLevelArray2DOffset()
2538 …(sampler.minFilter == Sampler::NEAREST_MIPMAP_NEAREST || sampler.minFilter == Sampler::NEAREST_MIP… in sampleLevelArray2DOffset()
2542 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray2DOffset()
2546 case Sampler::NEAREST: in sampleLevelArray2DOffset()
2547 case Sampler::LINEAR: in sampleLevelArray2DOffset()
2548 case Sampler::CUBIC: in sampleLevelArray2DOffset()
2551 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray2DOffset()
2552 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray2DOffset()
2553 case Sampler::CUBIC_MIPMAP_NEAREST: in sampleLevelArray2DOffset()
2557 Sampler::FilterMode levelFilter; in sampleLevelArray2DOffset()
2560 case Sampler::NEAREST_MIPMAP_NEAREST: levelFilter = Sampler::NEAREST; break; in sampleLevelArray2DOffset()
2561 case Sampler::LINEAR_MIPMAP_NEAREST: levelFilter = Sampler::LINEAR; break; in sampleLevelArray2DOffset()
2562 case Sampler::CUBIC_MIPMAP_NEAREST: levelFilter = Sampler::CUBIC; break; in sampleLevelArray2DOffset()
2571 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray2DOffset()
2572 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray2DOffset()
2573 case Sampler::CUBIC_MIPMAP_LINEAR: in sampleLevelArray2DOffset()
2578 Sampler::FilterMode levelFilter; in sampleLevelArray2DOffset()
2581 case Sampler::NEAREST_MIPMAP_LINEAR: levelFilter = Sampler::NEAREST; break; in sampleLevelArray2DOffset()
2582 case Sampler::LINEAR_MIPMAP_LINEAR: levelFilter = Sampler::LINEAR; break; in sampleLevelArray2DOffset()
2583 case Sampler::CUBIC_MIPMAP_LINEAR: levelFilter = Sampler::CUBIC; break; in sampleLevelArray2DOffset()
2601 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray3DOffset()
2604 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray3DOffset()
2608 case Sampler::NEAREST: return levels[0].sample3DOffset(sampler, filterMode, s, t, r, offset); in sampleLevelArray3DOffset()
2609 case Sampler::LINEAR: return levels[0].sample3DOffset(sampler, filterMode, s, t, r, offset); in sampleLevelArray3DOffset()
2611 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray3DOffset()
2612 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray3DOffset()
2616Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray3DOffset()
2621 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray3DOffset()
2622 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray3DOffset()
2627Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray3DOffset()
2641 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler in sampleLevelArray1DCompare()
2644 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray1DCompare()
2648 case Sampler::NEAREST: return levels[0].sample1DCompare(sampler, filterMode, ref, s, offset); in sampleLevelArray1DCompare()
2649 case Sampler::LINEAR: return levels[0].sample1DCompare(sampler, filterMode, ref, s, offset); in sampleLevelArray1DCompare()
2651 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray1DCompare()
2652 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray1DCompare()
2656Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray1DCompare()
2661 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray1DCompare()
2662 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray1DCompare()
2667Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray1DCompare()
2681 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler in sampleLevelArray2DCompare()
2684 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArray2DCompare()
2688 case Sampler::NEAREST: return levels[0].sample2DCompare(sampler, filterMode, ref, s, t, offset); in sampleLevelArray2DCompare()
2689 case Sampler::LINEAR: return levels[0].sample2DCompare(sampler, filterMode, ref, s, t, offset); in sampleLevelArray2DCompare()
2691 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArray2DCompare()
2692 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArray2DCompare()
2696Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEAR… in sampleLevelArray2DCompare()
2701 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArray2DCompare()
2702 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArray2DCompare()
2707Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR … in sampleLevelArray2DCompare()
2721 static Vec4 fetchGatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, f… in fetchGatherArray2DOffsets()
2751 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, floa… in gatherArray2DOffsets()
2753 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gatherArray2DOffsets()
2759 Vec4 gatherArray2DOffsetsCompare (const ConstPixelBufferAccess& src, const Sampler& sampler, float … in gatherArray2DOffsetsCompare()
2761 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherArray2DOffsetsCompare()
2775 static Vec4 sampleCubeSeamlessNearest (const ConstPixelBufferAccess& faceAccess, const Sampler& sam… in sampleCubeSeamlessNearest()
2777 Sampler clampingSampler = sampler; in sampleCubeSeamlessNearest()
2778 clampingSampler.wrapS = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearest()
2779 clampingSampler.wrapT = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearest()
2780 return faceAccess.sample2D(clampingSampler, Sampler::NEAREST, s, t, depth); in sampleCubeSeamlessNearest()
2881 IVec2 coords(wrap(Sampler::CLAMP_TO_BORDER, origCoords.s, size), in remapCubeEdgeCoords()
2882 wrap(Sampler::CLAMP_TO_BORDER, origCoords.t, size)); in remapCubeEdgeCoords()
2981 …xelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float s… in sampleCubeSeamlessLinear()
3012 …cess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s… in sampleLevelArrayCubeSeamless()
3015 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArrayCubeSeamless()
3019 case Sampler::NEAREST: in sampleLevelArrayCubeSeamless()
3022 case Sampler::LINEAR: in sampleLevelArrayCubeSeamless()
3031 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamless()
3032 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamless()
3036Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleLevelArrayCubeSeamless()
3038 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamless()
3042 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
3052 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamless()
3053 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamless()
3058Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleLevelArrayCubeSeamless()
3063 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamless()
3070 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
3093 …eSeamlessNearestCompare (const ConstPixelBufferAccess& faceAccess, const Sampler& sampler, float r… in sampleCubeSeamlessNearestCompare()
3095 Sampler clampingSampler = sampler; in sampleCubeSeamlessNearestCompare()
3096 clampingSampler.wrapS = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearestCompare()
3097 clampingSampler.wrapT = Sampler::CLAMP_TO_EDGE; in sampleCubeSeamlessNearestCompare()
3098 …return faceAccess.sample2DCompare(clampingSampler, Sampler::NEAREST, ref, s, t, IVec3(0, 0, depth)… in sampleCubeSeamlessNearestCompare()
3101 …xelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float r… in sampleCubeSeamlessLinearCompare()
3182 …cess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float r… in sampleLevelArrayCubeSeamlessCompare()
3185 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleLevelArrayCubeSeamlessCompare()
3189 case Sampler::NEAREST: in sampleLevelArrayCubeSeamlessCompare()
3192 case Sampler::LINEAR: in sampleLevelArrayCubeSeamlessCompare()
3201 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamlessCompare()
3202 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleLevelArrayCubeSeamlessCompare()
3206Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleLevelArrayCubeSeamlessCompare()
3208 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamlessCompare()
3212 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
3222 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamlessCompare()
3223 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleLevelArrayCubeSeamlessCompare()
3228Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleLevelArrayCubeSeamlessCompare()
3233 if (levelFilter == Sampler::NEAREST) in sampleLevelArrayCubeSeamlessCompare()
3240 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
3273 …fferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float s… in sampleCubeArraySeamless()
3277 const Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleCubeArraySeamless()
3281 case Sampler::NEAREST: in sampleCubeArraySeamless()
3284 case Sampler::LINEAR: in sampleCubeArraySeamless()
3293 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleCubeArraySeamless()
3294 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleCubeArraySeamless()
3298Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleCubeArraySeamless()
3300 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamless()
3304 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
3314 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleCubeArraySeamless()
3315 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleCubeArraySeamless()
3320Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleCubeArraySeamless()
3325 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamless()
3332 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
3355 …fferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float r… in sampleCubeArraySeamlessCompare()
3359 Sampler::FilterMode filterMode = magnified ? sampler.magFilter : sampler.minFilter; in sampleCubeArraySeamlessCompare()
3363 case Sampler::NEAREST: in sampleCubeArraySeamlessCompare()
3366 case Sampler::LINEAR: in sampleCubeArraySeamlessCompare()
3375 case Sampler::NEAREST_MIPMAP_NEAREST: in sampleCubeArraySeamlessCompare()
3376 case Sampler::LINEAR_MIPMAP_NEAREST: in sampleCubeArraySeamlessCompare()
3380Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_NEAREST) ? Sampler::LINEA… in sampleCubeArraySeamlessCompare()
3382 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamlessCompare()
3386 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
3396 case Sampler::NEAREST_MIPMAP_LINEAR: in sampleCubeArraySeamlessCompare()
3397 case Sampler::LINEAR_MIPMAP_LINEAR: in sampleCubeArraySeamlessCompare()
3402Sampler::FilterMode levelFilter = (filterMode == Sampler::LINEAR_MIPMAP_LINEAR) ? Sampler::LINEAR… in sampleCubeArraySeamlessCompare()
3407 if (levelFilter == Sampler::NEAREST) in sampleCubeArraySeamlessCompare()
3414 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
3646 tcu::Vec4 TextureCubeView::sample (const Sampler& sampler, float s, float t, float r, float lod) co… in sample()
3648 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
3658 float TextureCubeView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float r,… in sampleCompare()
3660 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()
3670 Vec4 TextureCubeView::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) … in gather()
3672 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gather()
3701 Vec4 TextureCubeView::gatherCompare (const Sampler& sampler, float ref, float s, float t, float r) … in gatherCompare()
3703 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherCompare()
3707 Sampler noCompareSampler = sampler; in gatherCompare()
3708 noCompareSampler.compare = Sampler::COMPAREMODE_NONE; in gatherCompare()
3841 Vec4 Texture1DArrayView::sample (const Sampler& sampler, float s, float t, float lod) const in sample()
3846 Vec4 Texture1DArrayView::sampleOffset (const Sampler& sampler, float s, float t, float lod, deInt32… in sampleOffset()
3851 float Texture1DArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float… in sampleCompare()
3856 float Texture1DArrayView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t,… in sampleCompareOffset()
3875 Vec4 Texture2DArrayView::sample (const Sampler& sampler, float s, float t, float r, float lod) const in sample()
3880 float Texture2DArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float… in sampleCompare()
3885 Vec4 Texture2DArrayView::sampleOffset (const Sampler& sampler, float s, float t, float r, float lod… in sampleOffset()
3890 float Texture2DArrayView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t,… in sampleCompareOffset()
3895 Vec4 Texture2DArrayView::gatherOffsets (const Sampler& sampler, float s, float t, float r, int comp… in gatherOffsets()
3900 Vec4 Texture2DArrayView::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float t,… in gatherOffsetsCompare()
4073 tcu::Vec4 TextureCubeArrayView::sample (const Sampler& sampler, float s, float t, float r, float q,… in sample()
4079 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
4087 float TextureCubeArrayView::sampleCompare (const Sampler& sampler, float ref, float s, float t, flo… in sampleCompare()
4093 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()