Lines Matching defs:format
46 static const string getASTCFormatShortName (CompressedTexFormat format)
48 DE_ASSERT(tcu::isAstcFormat(format));
49 const IVec3 blockSize = tcu::getBlockPixelSize(format);
52 return de::toString(blockSize.x()) + "x" + de::toString(blockSize.y()) + (tcu::isAstcSRGBFormat(format) ? "_srgb" : "");
81 const CompressedTexFormat format = (CompressedTexFormat)formatI;
83 if (!tcu::isAstcFormat(format))
85 if (tcu::isAstcSRGBFormat(format) && tcu::astc::isBlockTestTypeHDROnly(astcTestType))
88 testTypeGroup->addChild(new ASTCBlockCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTextureFormatName(glu::getGLFormat(format)), astcTestType, format));
100 const CompressedTexFormat format = (CompressedTexFormat)formatI;
102 if (!tcu::isAstcFormat(format))
105 blockSizeRemainderGroup->addChild(new ASTCBlockSizeRemainderCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTextureFormatName(glu::getGLFormat(format)), format));