Lines Matching refs:sampler
174 class Sampler
256 Sampler (WrapMode wrapS_,
283 Sampler (void)
348 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const;
349 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const;
350 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const;
352 Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
353 Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
354 Vec4 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r, const IVec3& offset) const;
356 float sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, const IVec2& offset) const;
357 float sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const;
435 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod);
436 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, int depth, float lod);
437 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod);
439 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
440 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset);
441 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset);
443 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
444 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset);
446 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
447 Vec4 gatherArray2DOffsetsCompare (const ConstPixelBufferAccess& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
496 Vec4 sample (const Sampler& sampler, float s, float lod) const;
497 Vec4 sampleOffset (const Sampler& sampler, float s, float lod, deInt32 offset) const;
498 float sampleCompare (const Sampler& sampler, float ref, float s, float lod) const;
499 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const;
513 inline Vec4 Texture1DView::sample (const Sampler& sampler, float s, float lod) const
515 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod);
518 inline Vec4 Texture1DView::sampleOffset (const Sampler& sampler, float s, float lod, deInt32 offset) const
520 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0));
523 inline float Texture1DView::sampleCompare (const Sampler& sampler, float ref, float s, float lod) const
525 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0));
528 inline float Texture1DView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const
530 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0));
547 Vec4 sample (const Sampler& sampler, float s, float t, float lod) const;
548 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const;
549 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const;
550 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const;
552 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const;
553 Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const;
567 inline Vec4 Texture2DView::sample (const Sampler& sampler, float s, float t, float lod) const
569 return sampleLevelArray2D(m_levels, m_numLevels, sampler, s, t, 0 /* depth */, lod);
572 inline Vec4 Texture2DView::sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const
574 return sampleLevelArray2DOffset(m_levels, m_numLevels, sampler, s, t, lod, IVec3(offset.x(), offset.y(), 0));
577 inline float Texture2DView::sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const
579 return sampleLevelArray2DCompare(m_levels, m_numLevels, sampler, ref, s, t, lod, IVec3(0, 0, 0));
582 inline float Texture2DView::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const
584 return sampleLevelArray2DCompare(m_levels, m_numLevels, sampler, ref, s, t, lod, IVec3(offset.x(), offset.y(), 0));
587 inline Vec4 Texture2DView::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const
589 return gatherArray2DOffsets(m_levels[0], sampler, s, t, 0, componentNdx, offsets);
592 inline Vec4 Texture2DView::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const
594 return gatherArray2DOffsetsCompare(m_levels[0], sampler, ref, s, t, 0, offsets);
646 Vec4 sample (const Sampler& sampler, float s, float lod) const;
647 Vec4 sampleOffset (const Sampler& sampler, float s, float lod, deInt32 offset) const;
664 inline Vec4 Texture1D::sample (const Sampler& sampler, float s, float lod) const
666 return m_view.sample(sampler, s, lod);
669 inline Vec4 Texture1D::sampleOffset (const Sampler& sampler, float s, float lod, deInt32 offset) const
671 return m_view.sampleOffset(sampler, s, lod, offset);
691 Vec4 sample (const Sampler& sampler, float s, float t, float lod) const;
692 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const;
693 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const;
694 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const;
696 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const;
697 Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const;
715 inline Vec4 Texture2D::sample (const Sampler& sampler, float s, float t, float lod) const
717 return m_view.sample(sampler, s, t, lod);
720 inline Vec4 Texture2D::sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const
722 return m_view.sampleOffset(sampler, s, t, lod, offset);
725 inline float Texture2D::sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const
727 return m_view.sampleCompare(sampler, ref, s, t, lod);
730 inline float Texture2D::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const
732 return m_view.sampleCompareOffset(sampler, ref, s, t, lod, offset);
735 inline Vec4 Texture2D::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const
737 return m_view.gatherOffsets(sampler, s, t, componentNdx, offsets);
740 inline Vec4 Texture2D::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const
742 return m_view.gatherOffsetsCompare(sampler, ref, s, t, offsets);
759 Vec4 sample (const Sampler& sampler, float s, float t, float p, float lod) const;
760 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float lod) const;
762 Vec4 gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const;
763 Vec4 gatherCompare (const Sampler& sampler, float ref, float s, float t, float r) const;
791 Vec4 sample (const Sampler& sampler, float s, float t, float p, float lod) const;
792 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float lod) const;
794 Vec4 gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const;
795 Vec4 gatherCompare (const Sampler& sampler, float ref, float s, float t, float r) const;
811 inline Vec4 TextureCube::sample (const Sampler& sampler, float s, float t, float p, float lod) const
813 return m_view.sample(sampler, s, t, p, lod);
816 inline float TextureCube::sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float lod) const
818 return m_view.sampleCompare(sampler, ref, s, t, r, lod);
821 inline Vec4 TextureCube::gather (const Sampler& sampler, float s, float t, float r, int componentNdx) const
823 return m_view.gather(sampler, s, t, r, componentNdx);
826 inline Vec4 TextureCube::gatherCompare (const Sampler& sampler, float ref, float s, float t, float r) const
828 return m_view.gatherCompare(sampler, ref, s, t, r);
845 Vec4 sample (const Sampler& sampler, float s, float t, float lod) const;
846 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, deInt32 offset) const;
847 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const;
848 float sampleCompareOffset (const Sampler& sampler
872 Vec4 sample (const Sampler& sampler, float s, float t, float r, float lod) const;
873 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const;
874 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float lod) const;
875 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const;
877 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const;
878 Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, float r, const IVec2 (&offsets)[4]) const;
908 Vec4 sample (const Sampler& sampler, float s, float t, float lod) const;
909 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float lod, deInt32 offset) const;
910 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const;
911 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const;
923 inline Vec4 Texture1DArray::sample (const Sampler& sampler, float s, float t, float lod) const
925 return m_view.sample(sampler, s, t, lod);
928 inline Vec4 Texture1DArray::sampleOffset (const Sampler& sampler, float s, float t, float lod, deInt32 offset) const
930 return m_view.sampleOffset(sampler, s, t, lod, offset);
933 inline float Texture1DArray::sampleCompare (const Sampler& sampler, float ref, float s, float t, float lod) const
935 return m_view.sampleCompare(sampler, ref, s, t, lod);
938 inline float Texture1DArray::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const
940 return m_view.sampleCompareOffset(sampler, ref, s, t, lod, offset);
965 Vec4 sample (const Sampler& sampler, float s, float t, float r, float lod) const;
966 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const;
967 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float lod) const;
968 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const;
970 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const;
971 Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, float r, const IVec2 (&offsets)[4]) const;
984 inline Vec4 Texture2DArray::sample (const Sampler& sampler, float s, float t, float r, float lod) const
986 return m_view.sample(sampler, s, t, r, lod);
989 inline Vec4 Texture2DArray::sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const
991 return m_view.sampleOffset(sampler, s, t, r, lod, offset);
994 inline float Texture2DArray::sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float lod) const
996 return m_view.sampleCompare(sampler, ref, s, t, r, lod);
999 inline float Texture2DArray::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const
1001 return m_view.sampleCompareOffset(sampler, ref, s, t, r, lod, offset);
1004 inline Vec4 Texture2DArray::gatherOffsets (const Sampler& sampler, float s, float t, float r, int componentNdx, const IVec2 (&offsets)[4]) const
1006 return m_view.gatherOffsets(sampler, s, t, r, componentNdx, offsets);
1009 inline Vec4 Texture2DArray::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float t, float r, const IVec2 (&offsets)[4]) const
1011 return m_view.gatherOffsetsCompare(sampler, ref, s, t, r, offsets);
1029 Vec4 sample (const Sampler& sampler, float s, float t, float r, float lod) const;
1030 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const;
1037 inline Vec4 Texture3DView::sample (const Sampler& sampler, float s, float t, float r, float lod) const
1039 return sampleLevelArray3D(m_levels, m_numLevels, sampler, s, t, r, lod);
1042 inline Vec4 Texture3DView::sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const
1044 return sampleLevelArray3DOffset(m_levels, m_numLevels, sampler, s, t, r, lod, offset);
1069 Vec4 sample (const Sampler& sampler, float s, float t, float r, float lod) const;
1070 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const;
1083 inline Vec4 Texture3D::sample (const Sampler& sampler, float s, float t, float r, float lod) const
1085 return m_view.sample(sampler, s, t, r, lod);
1088 inline Vec4 Texture3D::sampleOffset (const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const
1090 return m_view.sampleOffset(sampler, s, t, r, lod, offset);
1108 Vec4 sample (const Sampler& sampler, float s, float t, float r, float q, float lod) const;
1109 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const;
1110 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod) const;
1111 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const;
1141 Vec4 sample (const Sampler& sampler, float s, float t, float r, float q, float lod) const;
1142 Vec4 sampleOffset (const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const;
1143 float sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod) const;
1144 float sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const;
1156 inline Vec4 TextureCubeArray::sample (const Sampler& sampler, float s, float t, float r, float q, float lod) const
1158 return m_view.sample(sampler, s, t, r, q, lod);
1161 inline Vec4 TextureCubeArray::sampleOffset (const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const
1163 return m_view.sampleOffset(sampler, s, t, r, q, lod, offset);
1166 inline float TextureCubeArray::sampleCompare (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod) const
1168 return m_view.sampleCompare(sampler, ref, s, t, r, q, lod);
1171 inline float TextureCubeArray::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const
1173 return m_view.sampleCompareOffset(sampler, ref, s, t, r, q, lod, offset);