/external/deqp/modules/internal/ |
ditAstcTests.cpp | 21 * \brief ASTC tests. 90 if (!astc::isValidBlock(data + blockNdx*astc::BLOCK_SIZE_BYTES, format, mode)) 91 TCU_FAIL("Invalid ASTC block was generated"); 97 TCU_CHECK(numBytes % astc::BLOCK_SIZE_BYTES == 0); 98 return (numBytes / astc::BLOCK_SIZE_BYTES); 106 for (int blockTestTypeNdx = 0; blockTestTypeNdx < astc::BLOCK_TEST_TYPE_LAST; blockTestTypeNdx++) 108 const astc::BlockTestType blockTestType = (astc::BlockTestType)blockTestTypeNdx; 110 if (astc::isBlockTestTypeHDROnly(blockTestType) && isAstcSRGBFormat(m_format) [all...] |
/external/mesa3d/src/mesa/main/ |
formats.csv | 323 # ASTC compressed formats 324 MESA_FORMAT_RGBA_ASTC_4x4 , astc , 4, 4, 1, x128, , , , xyzw, rgb 325 MESA_FORMAT_RGBA_ASTC_5x4 , astc , 5, 4, 1, x128, , , , xyzw, rgb 326 MESA_FORMAT_RGBA_ASTC_5x5 , astc , 5, 5, 1, x128, , , , xyzw, rgb 327 MESA_FORMAT_RGBA_ASTC_6x5 , astc , 6, 5, 1, x128, , , , xyzw, rgb 328 MESA_FORMAT_RGBA_ASTC_6x6 , astc , 6, 6, 1, x128, , , , xyzw, rgb 329 MESA_FORMAT_RGBA_ASTC_8x5 , astc , 8, 5, 1, x128, , , , xyzw, rgb 330 MESA_FORMAT_RGBA_ASTC_8x6 , astc , 8, 6, 1, x128, , , , xyzw, rgb 331 MESA_FORMAT_RGBA_ASTC_8x8 , astc , 8, 8, 1, x128, , , , xyzw, rgb 332 MESA_FORMAT_RGBA_ASTC_10x5 , astc ,10, 5, 1, x128, , , , xyzw, rg [all...] |
/external/deqp/modules/gles3/functional/ |
es3fCompressedTextureTests.cpp | 66 // ASTC cases. 68 TestCaseGroup* const astcGroup = new TestCaseGroup(m_context, "astc", "ASTC Tests"); 73 for (int astcTestTypeI = 0; astcTestTypeI < tcu::astc::BLOCK_TEST_TYPE_LAST; astcTestTypeI++) 75 const tcu::astc::BlockTestType astcTestType = (tcu::astc::BlockTestType)astcTestTypeI; 85 if (tcu::isAstcSRGBFormat(format) && tcu::astc::isBlockTestTypeHDROnly(astcTestType))
|
es3fASTCDecompressionCases.hpp | 23 * \brief ASTC decompression tests 48 // General ASTC block test class. 55 tcu::astc::BlockTestType testType, 67 const tcu::astc::BlockTestType m_testType;
|
es3fASTCDecompressionCases.cpp | 21 * \brief ASTC decompression tests 25 * ASTC utility file. 71 using tcu::astc::BlockTestType; 90 // Get a string describing the data of an ASTC block. Currently contains just hex and bin dumps of the block. 99 for (int i = tcu::astc::BLOCK_SIZE_BYTES-1; i >= 0; i--) 114 for (int i = tcu::astc::BLOCK_SIZE_BYTES-1; i >= 0; i--) 170 // ASTC error color - allow anything in result. 229 // Class handling the common rendering stuff of ASTC cases. 304 case ASTCSUPPORTLEVEL_NONE: log << TestLog::Message << "No ASTC support detected" << TestLog::EndMessage; throw tcu::NotSupportedError("ASTC not supported") [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.csv | 208 PIPE_FORMAT_ASTC_4x4 , astc, 4, 4, x128, , , , xyzw, rgb 209 PIPE_FORMAT_ASTC_5x4 , astc, 5, 4, x128, , , , xyzw, rgb 210 PIPE_FORMAT_ASTC_5x5 , astc, 5, 5, x128, , , , xyzw, rgb 211 PIPE_FORMAT_ASTC_6x5 , astc, 6, 5, x128, , , , xyzw, rgb 212 PIPE_FORMAT_ASTC_6x6 , astc, 6, 6, x128, , , , xyzw, rgb 213 PIPE_FORMAT_ASTC_8x5 , astc, 8, 5, x128, , , , xyzw, rgb 214 PIPE_FORMAT_ASTC_8x6 , astc, 8, 6, x128, , , , xyzw, rgb 215 PIPE_FORMAT_ASTC_8x8 , astc, 8, 8, x128, , , , xyzw, rgb 216 PIPE_FORMAT_ASTC_10x5 , astc,10, 5, x128, , , , xyzw, rgb 217 PIPE_FORMAT_ASTC_10x6 , astc,10, 6, x128, , , , xyzw, rg [all...] |
/external/deqp/framework/common/ |
tcuAstcUtil.hpp | 23 * \brief ASTC Utilities. 33 namespace astc namespace in namespace:tcu 77 } // astc
|
tcuAstcUtil.cpp | 21 * \brief ASTC Utilities. 33 namespace astc namespace in namespace:tcu 302 // Data from an ASTC block's "block mode" part (i.e. bits [0,10]). 523 throw InternalError("Infinity or NaN color component in HDR void extent block in ASTC texture (behavior undefined by ASTC specification)"); [all...] |
tcuCompressedTexture.cpp | 40 return astc::BLOCK_SIZE_BYTES; 348 throw InternalError("3D ASTC textures not currently supported"); 358 throw InternalError("Invalid ASTC block size " + de::toString(size.x()) + "x" + de::toString(size.y()) + "x" + de::toString(size.z())); 382 // \todo [2013-08-06 nuutti] ETC and ASTC decompression codes are rather unrelated, and are already in their own "private" namespaces - should this be split to multiple files? [all...] |
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_texture_state.c | 90 const bool astc = !!(format & ASTC_FORMAT); local 111 sv->TE_SAMPLER_CONFIG0 = COND(!ext && !astc, VIVS_TE_SAMPLER_CONFIG0_FORMAT(format)); 135 COND(astc, VIVS_TE_SAMPLER_CONFIG1_FORMAT_EXT(TEXTURE_FORMAT_EXT_ASTC)) | 137 sv->TE_SAMPLER_ASTC0 = COND(astc, VIVS_NTE_SAMPLER_ASTC0_ASTC_FORMAT(format)) | 146 COND(util_format_is_srgb(so->format) && !astc, VIVS_TE_SAMPLER_LOG_SIZE_SRGB) | 147 COND(astc, VIVS_TE_SAMPLER_LOG_SIZE_ASTC);
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineImageUtil.cpp | 182 // ASTC LDR blocks decompress to f16 so querying normalization parameters 817 tcu::astc::generateRandomValidBlocks(compressedData, compressedLevel->getDataSize()/tcu::astc::BLOCK_SIZE_BYTES, [all...] |