Lines Matching defs:tex
226 * glVertexAttribPointer() (for position and tex coord) or glDrawElements()
404 static inline IVec2 getTextureSize (const glu::Texture2D& tex)
406 const tcu::Texture2D& ref = tex.getRefTexture();
410 static inline IVec2 getTextureSize (const glu::TextureCube& tex)
412 const tcu::TextureCube& ref = tex.getRefTexture();
416 static inline IVec3 getTextureSize (const glu::Texture2DArray& tex)
418 const tcu::Texture2DArray& ref = tex.getRefTexture();
422 static inline IVec3 getTextureSize (const glu::Texture3D& tex)
424 const tcu::Texture3D& ref = tex.getRefTexture();
454 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); }
455 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); }
456 static inline Vec4 sample (const tcu::Texture2DArray& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); }
457 static inline Vec4 sample (const tcu::Texture3D& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); }