Home | History | Annotate | Download | only in internal

Lines Matching refs:astc

21  * \brief ASTC tests.
85 TCU_CHECK(astc::isValidBlock(data + blockNdx*astc::BLOCK_SIZE_BYTES, format, mode));
90 TCU_CHECK(numBytes % astc::BLOCK_SIZE_BYTES == 0);
91 return (numBytes / astc::BLOCK_SIZE_BYTES);
99 for (int blockTestTypeNdx = 0; blockTestTypeNdx < astc::BLOCK_TEST_TYPE_LAST; blockTestTypeNdx++)
101 const astc::BlockTestType blockTestType = (const astc::BlockTestType)blockTestTypeNdx;
103 if (astc::isBlockTestTypeHDROnly(blockTestType) && isAstcSRGBFormat(m_format))
107 astc::generateBlockCaseTestData(generatedData, m_format, blockTestType);
112 if (blockTestType != astc::BLOCK_TEST_TYPE_RANDOM)
117 if (!astc::isBlockTestTypeHDROnly(blockTestType) &&
118 (blockTestType != astc::BLOCK_TEST_TYPE_CEMS))
127 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES);
128 astc::generateDummyVoidExtentBlocks(&generatedData[0], numBlocks);
141 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES);
142 astc::generateDummyNormalBlocks(&generatedData[0], numBlocks, blockPixelSize.x(), blockPixelSize.y());
156 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES);
157 astc::generateRandomValidBlocks(&generatedData[0], numBlocks, m_format, mode, deInt32Hash(m_format) ^ deInt32Hash(mode));
172 de::MovePtr<tcu::TestCaseGroup> astcTests (new tcu::TestCaseGroup(testCtx, "astc", "Tests for ASTC Utilities"));