Home
last modified time | relevance | path

Searched refs:formatNdx (Results 1 – 25 of 69) sorted by relevance

123

/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp67 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
69 deUint32 format = texFormats[formatNdx].format; in init()
70 deUint32 dataType = texFormats[formatNdx].dataType; in init()
71 string nameBase = texFormats[formatNdx].name; in init()
Des2pTextureCountTests.cpp66 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
70 deUint32 format = texFormats[formatNdx].format; in init()
71 deUint32 dataType = texFormats[formatNdx].dataType; in init()
77 string name = string(texFormats[formatNdx].name) + "_" + de::toString(numTextures); in init()
Des2pTextureFilteringTests.cpp82 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
84 deUint32 format = texFormats[formatNdx].format; in init()
85 deUint32 dataType = texFormats[formatNdx].dataType; in init()
92 … = string(cases[caseNdx].name) + (minify ? "_minify_" : "_magnify_") + texFormats[formatNdx].name; in init()
/external/deqp/modules/gles3/performance/
Des3pTextureCountTests.cpp68 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
72 deUint32 format = texFormats[formatNdx].internalFormat; in init()
78 string name = string(texFormats[formatNdx].name) + "_" + de::toString(numTextures); in init()
Des3pTextureFormatTests.cpp107 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
109 deUint32 format = texFormats[formatNdx].internalFormat; in init()
110 string nameBase = texFormats[formatNdx].name; in init()
Des3pTextureFilteringTests.cpp83 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
85 deUint32 format = texFormats[formatNdx].internalFormat; in init()
92 … = string(cases[caseNdx].name) + (minify ? "_minify_" : "_magnify_") + texFormats[formatNdx].name; in init()
/external/deqp/modules/gles31/functional/
Des31fTextureFormatTests.cpp449 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
451 deUint32 format = texFormats[formatNdx].format; in init()
452 deUint32 dataType = texFormats[formatNdx].dataType; in init()
453 string nameBase = texFormats[formatNdx].name; in init()
532 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(sizedColorFormats); formatNdx++) in init() local
534 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; in init()
535 string nameBase = sizedColorFormats[formatNdx].name; in init()
542 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(sizedDepthStencilFormats); formatNdx++) in init() local
544 deUint32 internalFormat = sizedDepthStencilFormats[formatNdx].internalFormat; in init()
545 string nameBase = sizedDepthStencilFormats[formatNdx].name; in init()
[all …]
Des31fTextureSpecificationTests.cpp852 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init() local
854 const char* fmtName = colorFormats[formatNdx].name; in init()
855 deUint32 format = colorFormats[formatNdx].internalFormat; in init()
893 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init() local
895 const string fmtName = colorFormats[formatNdx].name; in init()
896 const deUint32 format = colorFormats[formatNdx].internalFormat; in init()
1048 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init() local
1050 const char* fmtName = colorFormats[formatNdx].name; in init()
1051 deUint32 internalFormat = colorFormats[formatNdx].internalFormat; in init()
1060 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(depthStencilFormats); formatNdx++) in init() local
[all …]
Des31fTextureBorderClampTests.cpp2389 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); ++formatNdx) in init() local
2391 const deUint32 format = formats[formatNdx].format; in init()
2392 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode; in init()
2395 …tcu::TestCaseGroup* const formatGroup = new tcu::TestCaseGroup(m_testCtx, formats[formatNdx].n… in init()
2462 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); ++formatNdx) in init() local
2465 const deUint32 format = formats[formatNdx].format; in init()
2466 const tcu::Sampler::DepthStencilMode sampleMode = formats[formatNdx].mode; in init()
2467 …:string caseName = std::string() + s_filters[filterNdx].name + "_" + formats[formatNdx].name; in init()
2502 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); ++formatNdx) in init() local
2504 const deUint32 format = formats[formatNdx].format; in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp2483 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(s_formats); ++formatNdx) in createImageStoreTests() local
2485 …new StoreTest(testCtx, getFormatShortString(s_formats[formatNdx]), "", texture, s_formats[formatNd… in createImageStoreTests()
2486 …new StoreTest(testCtx, getFormatShortString(s_formats[formatNdx]), "", texture, s_formats[formatNd… in createImageStoreTests()
2489 …iewType->addChild(new StoreTest(testCtx, getFormatShortString(s_formats[formatNdx]) + "_single_lay… in createImageStoreTests()
2490 texture, s_formats[formatNdx], in createImageStoreTests()
2495 …reTest(testCtx, getFormatShortString(s_formats[formatNdx]) + "_minalign", "", texture, s_formats[f… in createImageStoreTests()
2496 …reTest(testCtx, getFormatShortString(s_formats[formatNdx]) + "_minalign", "", texture, s_formats[f… in createImageStoreTests()
2523 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(s_formats); ++formatNdx) in createImageLoadStoreTests() local
2525 …st(testCtx, getFormatShortString(s_formats[formatNdx]), "", texture, s_formats[formatNdx], s_forma… in createImageLoadStoreTests()
2526 …st(testCtx, getFormatShortString(s_formats[formatNdx]), "", texture, s_formats[formatNdx], s_forma… in createImageLoadStoreTests()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureSizeTests.cpp393 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in init() local
398 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init()
401 formats[formatNdx].format, formats[formatNdx].dataType, in init()
416 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in init() local
421 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init()
424 formats[formatNdx].format, formats[formatNdx].dataType, in init()
/external/deqp/modules/gles3/functional/
Des3fTextureSizeTests.cpp394 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in init() local
399 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init()
402 formats[formatNdx].format, formats[formatNdx].dataType, in init()
417 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in init() local
422 name << width << "x" << height << "_" << formats[formatNdx].name << (mipmap ? "_mipmap" : ""); in init()
425 formats[formatNdx].format, formats[formatNdx].dataType, in init()
Des3fTextureFormatTests.cpp1337 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(texFormats); formatNdx++) in init() local
1339 deUint32 format = texFormats[formatNdx].format; in init()
1340 deUint32 dataType = texFormats[formatNdx].dataType; in init()
1341 string nameBase = texFormats[formatNdx].name; in init()
1426 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(sizedColorFormats); formatNdx++) in init() local
1428 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; in init()
1429 string nameBase = sizedColorFormats[formatNdx].name; in init()
1442 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(sizedDepthStencilFormats); formatNdx++) in init() local
1444 deUint32 internalFormat = sizedDepthStencilFormats[formatNdx].internalFormat; in init()
1445 string nameBase = sizedDepthStencilFormats[formatNdx].name; in init()
[all …]
Des3fTextureSpecificationTests.cpp3472 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init() local
3474 const char* fmtName = colorFormats[formatNdx].name; in init()
3475 deUint32 format = colorFormats[formatNdx].internalFormat; in init()
3495 int formatNdx = rnd.getInt(0, DE_LENGTH_OF_ARRAY(colorFormats)-1); in init() local
3499 …_context, (string("2d_") + de::toString(ndx)).c_str(), "", colorFormats[formatNdx].internalFormat,… in init()
3505 int formatNdx = rnd.getInt(0, DE_LENGTH_OF_ARRAY(colorFormats)-1); in init() local
3508 …ontext, (string("cube_") + de::toString(ndx)).c_str(), "", colorFormats[formatNdx].internalFormat,… in init()
3623 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(colorFormats); formatNdx++) in init() local
3625 const string fmtName = colorFormats[formatNdx].name; in init()
3626 const deUint32 format = colorFormats[formatNdx].internalFormat; in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp402 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in populateTextureCompressedFormatTests() local
405 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populateTextureCompressedFormatTests()
409 testParameters.format = formats[formatNdx].format; in populateTextureCompressedFormatTests()
427 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); ++formatNdx) in populate3DTextureCompressedFormatTests() local
430 const string formatStr = de::toString(getFormatStr(formats[formatNdx].format)); in populate3DTextureCompressedFormatTests()
434 testParameters.format = formats[formatNdx].format; in populate3DTextureCompressedFormatTests()
DvktTextureSwizzleTests.cpp470 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats2D); formatNdx++) in populateTextureSwizzleTests() local
474 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests()
482 testParameters.format = formats2D[formatNdx].format; in populateTextureSwizzleTests()
490 testParameters.programs.push_back(formats2D[formatNdx].program); in populateTextureSwizzleTests()
497 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats2D); formatNdx++) in populateTextureSwizzleTests() local
501 const string formatStr = de::toString(getFormatStr(formats2D[formatNdx].format)); in populateTextureSwizzleTests()
509 testParameters.format = formats2D[formatNdx].format; in populateTextureSwizzleTests()
519 testParameters.programs.push_back(formats2D[formatNdx].program); in populateTextureSwizzleTests()
DvktTextureShadowTests.cpp887 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in populateTextureShadowTests() local
891 …string(backingModes[backingNdx].name) + compareOp[compareNdx].name + "_" + formats[formatNdx].name; in populateTextureShadowTests()
896 testParameters.format = formats[formatNdx].format; in populateTextureShadowTests()
927 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in populateTextureShadowTests() local
931 …string(backingModes[backingNdx].name) + compareOp[compareNdx].name + "_" + formats[formatNdx].name; in populateTextureShadowTests()
936 testParameters.format = formats[formatNdx].format; in populateTextureShadowTests()
967 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in populateTextureShadowTests() local
971 …string(backingModes[backingNdx].name) + compareOp[compareNdx].name + "_" + formats[formatNdx].name; in populateTextureShadowTests()
976 testParameters.format = formats[formatNdx].format; in populateTextureShadowTests()
/external/deqp/external/vulkancts/modules/vulkan/modifiers/
DvktModifiersTests.cpp838 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in createTests() local
839 …me(formats[formatNdx]), "Check that listing supported modifiers is functional", checkModifiersSupp… in createTests()
847 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in createTests() local
848 …s[formatNdx]), "Check that creating images with modifier list is functional", checkModifiersSuppor… in createTests()
856 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(formats); formatNdx++) in createTests() local
857 …[formatNdx]), "Test exporting/importing images with modifiers", checkExportImportExtensions, expor… in createTests()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsics.cpp65 for (size_t formatNdx = 0; formatNdx < imageParameters[imageTypeNdx].formats.size(); ++formatNdx) in createSparseResourcesShaderIntrinsicsTests() local
67 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; in createSparseResourcesShaderIntrinsicsTests()
DvktSparseResourcesImageAlignedMipSize.cpp280 for (size_t formatNdx = 0; formatNdx < imageParameters[imageTypeNdx].formats.size(); ++formatNdx) in createImageAlignedMipSizeTests() local
282 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; in createImageAlignedMipSizeTests()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp692 auto addTests = [&](int formatNdx) in populateViewTypeGroup()
694 const VkFormat format = (VkFormat)formatNdx; in populateViewTypeGroup()
713 for (int formatNdx = VK_YCBCR_FORMAT_FIRST; formatNdx < VK_YCBCR_FORMAT_LAST; formatNdx++) in populateViewTypeGroup() local
715 addTests(formatNdx); in populateViewTypeGroup()
718 …for (int formatNdx = VK_FORMAT_G8_B8R8_2PLANE_444_UNORM_EXT; formatNdx < VK_FORMAT_G16_B16R16_2PLA… in populateViewTypeGroup() local
720 addTests(formatNdx); in populateViewTypeGroup()
DvktYCbCrFormatTests.cpp623 for (int formatNdx = VK_YCBCR_FORMAT_FIRST; formatNdx < VK_YCBCR_FORMAT_LAST; formatNdx++) in populateFormatGroup() local
625 const VkFormat format = (VkFormat)formatNdx; in populateFormatGroup()
631 …for (int formatNdx = VK_FORMAT_G8_B8R8_2PLANE_444_UNORM_EXT; formatNdx <= VK_FORMAT_G16_B16R16_2PL… in populateFormatGroup() local
633 const VkFormat format = (VkFormat)formatNdx; in populateFormatGroup()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthTests.cpp85 for (size_t formatNdx = 0; formatNdx < formats.size(); formatNdx++) in testSupportsAtLeastOneDepthStencilFormat() local
87 const VkFormat format = formats[formatNdx]; in testSupportsAtLeastOneDepthStencilFormat()
96 if (formatNdx < formats.size() - 1) in testSupportsAtLeastOneDepthStencilFormat()
1014 for (size_t formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(depthFormats); formatNdx++) in createDepthTests() local
1016 const bool hasDepth = tcu::hasDepthComponent(mapVkFormat(depthFormats[formatNdx]).order); in createDepthTests()
1017 … const bool hasStencil = tcu::hasStencilComponent(mapVkFormat(depthFormats[formatNdx]).order); in createDepthTests()
1025 …(getFormatCaseName(depthFormats[formatNdx]) + ((useSeparateDepthStencilLayouts) ? "_separate_layou… in createDepthTests()
1026 …(std::string("Uses format ") + getFormatName(depthFormats[formatNdx]) + ((useSeparateDepthStencilL… in createDepthTests()
1034 depthFormats[formatNdx], in createDepthTests()
1041 depthFormats[formatNdx], in createDepthTests()
[all …]
/external/deqp/modules/internal/
DditAstcTests.cpp189 for (int formatNdx = 0; formatNdx < COMPRESSEDTEXFORMAT_LAST; formatNdx++) in createAstcTests() local
191 const CompressedTexFormat format = (CompressedTexFormat)formatNdx; in createAstcTests()
/external/deqp/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp170 for (int formatNdx = 0; formatNdx < tcu::COMPRESSEDTEXFORMAT_LAST; formatNdx++) in getSupportedCompressedFormats() local
174 tcu::CompressedTexFormat format = static_cast<tcu::CompressedTexFormat>(formatNdx); in getSupportedCompressedFormats()
1673 for (int formatNdx = 0; formatNdx < tcu::COMPRESSEDTEXFORMAT_LAST; formatNdx++) in iterate() local
1675 tcu::CompressedTexFormat format = static_cast<tcu::CompressedTexFormat>(formatNdx); in iterate()
2083 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(sizedFilterableFormatsByType); formatNdx++) in init() local
2085 const char* fmtName = sizedFilterableFormatsByType[formatNdx].name; in init()
2086 deUint32 format = sizedFilterableFormatsByType[formatNdx].format; in init()
2097 for (int formatNdx = 0; formatNdx < DE_LENGTH_OF_ARRAY(filterableFormatsByType); formatNdx++) in init() local
2099 const char* fmtName = filterableFormatsByType[formatNdx].name; in init()
2100 deUint32 format = filterableFormatsByType[formatNdx].format; in init()
[all …]

123