Lines Matching refs:texFormat

219 …reateTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec…  in createTextureFromInternalFormat()
221 return de::MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, texFormat, size.x(), size.y())); in createTextureFromInternalFormat()
224 …createTextureFromFormatAndType (glu::RenderContext& renderCtx, deUint32 texFormat, deUint32 type, … in createTextureFromFormatAndType()
226 …return de::MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, texFormat, type, size.x(), size.y… in createTextureFromFormatAndType()
254 …reateTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec… in createTextureFromInternalFormat()
256 …return de::MovePtr<glu::Texture3D>(new glu::Texture3D(renderCtx, texFormat, size.x(), size.y(), si… in createTextureFromInternalFormat()
259 …createTextureFromFormatAndType (glu::RenderContext& renderCtx, deUint32 texFormat, deUint32 type, … in createTextureFromFormatAndType()
261 …return de::MovePtr<glu::Texture3D>(new glu::Texture3D(renderCtx, texFormat, type, size.x(), size.y… in createTextureFromFormatAndType()
284 …lu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, deUint32 texFormat, const typename … in genDummyTexture() argument
288 …if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler:… in genDummyTexture()
291 texture = TextureTraits<T>::createTextureFromInternalFormat(renderCtx, texFormat, size); in genDummyTexture()
294 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH)) in genDummyTexture()
301 if (isStencilFormat(texFormat, tcu::Sampler::MODE_STENCIL)) in genDummyTexture()
313 else if (!glu::isCompressedFormat(texFormat)) in genDummyTexture()
315 …if (texFormat == GL_LUMINANCE || texFormat == GL_LUMINANCE_ALPHA || texFormat == GL_ALPHA || texFo… in genDummyTexture()
316 …texture = TextureTraits<T>::createTextureFromFormatAndType(renderCtx, texFormat, GL_UNSIGNED_BYTE,… in genDummyTexture()
318 texture = TextureTraits<T>::createTextureFromInternalFormat(renderCtx, texFormat, size); in genDummyTexture()
335 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(texFormat); in genDummyTexture()
392 rr::GenericVec4 mapToFormatColorUnits (const tcu::TextureFormat& texFormat, const tcu::Vec4& normal… in mapToFormatColorUnits() argument
394 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); in mapToFormatColorUnits()
396 switch (tcu::getTextureChannelClass(texFormat.type)) in mapToFormatColorUnits()
410 rr::GenericVec4 mapToFormatColorRepresentable (const tcu::TextureFormat& texFormat, const tcu::Vec4… in mapToFormatColorRepresentable() argument
415 const rr::GenericVec4 inFormatUnits = mapToFormatColorUnits(texFormat, normalizedRange); in mapToFormatColorRepresentable()
416 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(texFormat); in mapToFormatColorRepresentable()
417 de::ArrayBuffer<deUint8, 4> buffer (texFormat.getPixelSize()); in mapToFormatColorRepresentable()
418 tcu::PixelBufferAccess access (texFormat, tcu::IVec3(1, 1, 1), buffer.getPtr()); in mapToFormatColorRepresentable()
420 if (tcu::isSRGB(texFormat)) in mapToFormatColorRepresentable()
422 DE_ASSERT(texFormat.type == tcu::TextureFormat::UNORM_INT8); in mapToFormatColorRepresentable()
439 switch (tcu::getTextureChannelClass(texFormat.type)) in mapToFormatColorRepresentable()
527 deUint32 texFormat,
619 deUint32 texFormat, in TextureBorderClampTest() argument
627 , m_texFormat (texFormat) in TextureBorderClampTest()
629 , m_channelClass (getFormatChannelClass(texFormat, mode)) in TextureBorderClampTest()
926 …const tcu::TextureFormat texFormat = tcu::getEffectiveDepthStencilTextureFormat(m_texture->getR… in verifyImage() local
930 …const bool isSRGB = texFormat.order == tcu::TextureFormat::sRGB || texFormat.order == tcu:… in verifyImage()
1256 …const tcu::TextureFormat texFormat = tcu::getEffectiveDepthStencilTextureFormat(m_texture->get… in genSamplerParams() local
1264 …refParams.samplerType = (!m_useShadowSampler) ? (glu::TextureTestUtil::getSamplerType(texFormat in genSamplerParams()
1356 deUint32 texFormat,
1379 deUint32 texFormat, in TextureBorderClampFormatCase() argument
1388 texFormat, in TextureBorderClampFormatCase()
1402 if (glu::isCompressedFormat(texFormat)) in TextureBorderClampFormatCase()
1404 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(texFormat); in TextureBorderClampFormatCase()
1422 …const tcu::TextureFormat texFormat = tcu::getEffectiveDepthStencilTextureFormat(getTexture()->ge… in init() local
1423 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); in init()
1431 …iteration.borderColor = mapToFormatColorRepresentable(texFormat, tcu::Vec4(0.3f, 0.7f, 0.2f, 0.5f)… in init()
1438 …iteration.borderColor = mapToFormatColorRepresentable(texFormat, tcu::Vec4(0.9f, 0.2f, 0.4f, 0.6f)… in init()
1483 deUint32 texFormat,
1500 deUint32 texFormat, in TextureBorderClampRangeClampCase() argument
1503 …: TextureBorderClampTest(context, name, description, texFormat, mode, TextureBorderClampTest::STAT… in TextureBorderClampRangeClampCase()
1512 …const tcu::TextureFormat texFormat = tcu::getEffectiveDepthStencilTextureFormat(getTexture()->get… in init() local
1544 const tcu::IVec4 numBits = tcu::getTextureFormatBitDepth(texFormat); in init()
1624 iteration.borderColor = mapToFormatColorUnits(texFormat, tcu::Vec4(1.1f, 1.3f, 2.2f, 1.3f)); in init()
1634 iteration.borderColor = mapToFormatColorUnits(texFormat, tcu::Vec4(-0.2f, -0.9f, -2.4f, -0.6f)); in init()
1674 deUint32 texFormat,
1698 deUint32 texFormat, in TextureBorderClampPerAxisCase2D() argument
1708 texFormat, in TextureBorderClampPerAxisCase2D()
1725 …const tcu::TextureFormat texFormat = tcu::getEffectiveDepthStencilTextureFormat(getTexture()->ge… in init() local
1726 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); in init()
1731 …iteration.borderColor = mapToFormatColorRepresentable(texFormat, tcu::Vec4(0.4f, 0.9f, 0.1f, 0.2f)… in init()
1770 deUint32 texFormat,
1788 deUint32 texFormat, in TextureBorderClampDepthCompareCase() argument
1795 texFormat, in TextureBorderClampDepthCompareCase()
1900 deUint32 texFormat,
1915 deUint32 texFormat, in TextureBorderClampUnusedChannelCase() argument
1920 texFormat, in TextureBorderClampUnusedChannelCase()
1939 …const tcu::TextureFormat texFormat = tcu::getEffectiveDepthStencilTextureFormat(getTexture()->g… in init() local
1940 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); in init()
1941 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(texFormat); in init()
1947 …const rr::GenericVec4 effectiveColors = mapToFormatColorRepresentable(texFormat, tcu::Vec4(0.6f… in init()
2002 deUint32 texFormat,
2051 deUint32 texFormat, in TextureBorderClampPerAxisCase3D() argument
2058 , m_texFormat (texFormat) in TextureBorderClampPerAxisCase3D()
2059 , m_channelClass (getFormatChannelClass(texFormat, tcu::Sampler::MODE_LAST)) in TextureBorderClampPerAxisCase3D()
2117 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); in init() local
2118 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); in init()
2120 m_borderColor = mapToFormatColorRepresentable(texFormat, tcu::Vec4(0.2f, 0.6f, 0.9f, 0.4f)); in init()
2250 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); in getSamplerParams() local
2256 refParams.samplerType = glu::TextureTestUtil::getSamplerType(texFormat); in getSamplerParams()