Home
last modified time | relevance | path

Searched refs:resultImage (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fSampleVariableTests.cpp207 static bool verifyImageWithVerifier (const tcu::Surface& resultImage, tcu::TestLog& log, const Veri… in verifyImageWithVerifier() argument
209 tcu::Surface errorMask (resultImage.getWidth(), resultImage.getHeight()); in verifyImageWithVerifier()
220 for (int y = 0; y < resultImage.getHeight(); ++y) in verifyImageWithVerifier()
221 for (int x = 0; x < resultImage.getWidth(); ++x) in verifyImageWithVerifier()
223 const tcu::RGBA color = resultImage.getPixel(x, y); in verifyImageWithVerifier()
241 << tcu::TestLog::Image("Result", "Result image", resultImage.getAccess()) in verifyImageWithVerifier()
249 << tcu::TestLog::Image("Result", "Result image", resultImage.getAccess()) in verifyImageWithVerifier()
293 bool verifyImage (const tcu::Surface& resultImage);
332 bool NumSamplesCase::verifyImage (const tcu::Surface& resultImage) in verifyImage() argument
334 return verifyImageWithVerifier(resultImage, m_testCtx.getLog(), NoRedVerifier()); in verifyImage()
[all …]
Des31fShaderMultisampleInterpolationTests.cpp110 bool verifyImage (const tcu::Surface& resultImage);
140 bool MultisampleShadeCountRenderCase::verifyImage (const tcu::Surface& resultImage) in verifyImage() argument
149 << tcu::TestLog::Image("ResultImage", "Result Image", resultImage.getAccess()) in verifyImage()
158 const tcu::RGBA color = resultImage.getPixel(x, y); in verifyImage()
647 bool verifyImage (const tcu::Surface& resultImage);
749 bool SingleSampleInterpolateAtSampleCase::verifyImage (const tcu::Surface& resultImage) in verifyImage() argument
751 return verifyGreenImage(resultImage, m_testCtx.getLog()); in verifyImage()
839 bool verifyImage (const tcu::Surface& resultImage);
922 bool CentroidQualifierAtSampleCase::verifyImage (const tcu::Surface& resultImage) in verifyImage() argument
924 return verifyGreenImage(resultImage, m_testCtx.getLog()); in verifyImage()
[all …]
Des31fMultisampleShaderRenderCase.cpp405 void MultisampleRenderCase::verifyResultImageAndSetResult (const tcu::Surface& resultImage) in verifyResultImageAndSetResult() argument
411 if (!verifyImage(resultImage)) in verifyResultImageAndSetResult()
521 tcu::Surface resultImage(m_renderSize, m_renderSize); in drawOneIteration() local
526 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in drawOneIteration()
530 verifyResultImageAndSetResult(resultImage); in drawOneIteration()
534 tcu::Surface resultImage(m_renderSize, m_renderSize); in drawOneIteration() local
548 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in drawOneIteration()
554 verifyResultImageAndSetResult(resultImage); in drawOneIteration()
561 tcu::Surface resultImage (m_renderSize, m_renderSize); in drawOneIteration() local
599 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in drawOneIteration()
[all …]
Des31fMultisampleShaderRenderCase.hpp89 void verifyResultImageAndSetResult (const tcu::Surface& resultImage);
96 virtual bool verifyImage (const tcu::Surface& resultImage) = 0;
Des31fSampleShadingTests.cpp250 bool verifyImage (const tcu::Surface& resultImage);
354 bool SampleShadingRenderingCase::verifyImage (const tcu::Surface& resultImage) in verifyImage() argument
364 << tcu::TestLog::Image("ResultImage", "Result Image", resultImage.getAccess()) in verifyImage()
373 const tcu::RGBA color = resultImage.getPixel(x, y); in verifyImage()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp253 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
260 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
276 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
339 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
357 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
374 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
441 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
459 drawPrimitives(resultImage, drawBuffer, GL_POINTS); in iterate()
475 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
1132 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp456 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
463 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
479 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
577 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
588 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
605 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
718 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
729 drawPrimitives(resultImage, drawBuffer, GL_POINTS); in iterate()
745 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
1281 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp878 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
885 drawPrimitives(resultImage, drawBuffer, m_primitiveTopology); in iterate()
903 …compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_context.getTestContext().… in iterate()
989 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
1000 drawPrimitives(resultImage, drawBuffer, m_primitiveTopology); in iterate()
1019 …if (!verifyRelaxedLineGroupRasterization(resultImage, scene, args, m_context.getTestContext().getL… in iterate()
1106 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
1117 drawPrimitives(resultImage, drawBuffer, VK_PRIMITIVE_TOPOLOGY_POINT_LIST); in iterate()
1135 …compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_context.getTestContext().get… in iterate()
1612 tcu::Surface resultImage (m_renderSize, m_renderSize); in iterate() local
[all …]
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp256 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in drawTestPattern() local
312 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in drawTestPattern()
328 const tcu::RGBA col = resultImage.getPixel(x, y); in drawTestPattern()
348 << tcu::TestLog::Image("Result", "Result", resultImage) in drawTestPattern()
619 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in iterate() local
711 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in iterate()
715 if (!checkResultImage(resultImage)) in iterate()
843 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in iterate() local
904 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in iterate()
908 if (!checkResultImage(resultImage)) in iterate()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp248 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in drawTestPattern() local
304 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in drawTestPattern()
320 const tcu::RGBA col = resultImage.getPixel(x, y); in drawTestPattern()
340 << tcu::TestLog::Image("Result", "Result", resultImage) in drawTestPattern()
607 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in iterate() local
699 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in iterate()
703 if (!checkResultImage(resultImage)) in iterate()
828 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in iterate() local
888 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess()); in iterate()
892 if (!checkResultImage(resultImage)) in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp985 void* resultImage; in testFences() local
1064 resultImage = testContext.renderReadBuffer->getHostPtr(); in testFences()
1073 resultImage)); in testFences()
1100 void* resultImage; in testSemaphores() local
1157 resultImage = testContext1.renderReadBuffer->getHostPtr(); in testSemaphores()
1166 resultImage)); in testSemaphores()
1178 resultImage = testContext2.renderReadBuffer->getHostPtr(); in testSemaphores()
1187 resultImage)); in testSemaphores()
1205 void* resultImage; in testEvents() local
1263 resultImage = testContext.renderReadBuffer->getHostPtr(); in testEvents()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp524 bool compareWithFileImage (Context& context, const tcu::ConstPixelBufferAccess& resultImage, std::s… in compareWithFileImage() argument
531 referenceImage.getAccess(), resultImage, 0.001f, tcu::COMPARE_LOG_RESULT)) in compareWithFileImage()
533 …referenceImage.getAccess(), resultImage, tcu::UVec4(1u, 1u, 1u, 1u), tcu::IVec3(2,2,2), false, tcu… in compareWithFileImage()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderViewportIndexTests.cpp843 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testVertexShader() local
847 …text().getLog(), "color", "Image compare", referenceImage.getAccess(), resultImage, Vec4(0.02f), t… in testVertexShader()
900 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testTessellationShader() local
904 …text().getLog(), "color", "Image compare", referenceImage.getAccess(), resultImage, Vec4(0.02f), t… in testTessellationShader()
DvktDrawShaderLayerTests.cpp948 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testVertexShader() local
952 …mageSetName.c_str(), imageSetDesc.c_str(), referenceImage.getAccess(), resultImage, Vec4(0.02f), t… in testVertexShader()
1009 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testTessellationShader() local
1013 …mageSetName.c_str(), imageSetDesc.c_str(), referenceImage.getAccess(), resultImage, Vec4(0.02f), t… in testTessellationShader()
DvktDrawInvertedDepthRangesTests.cpp344 const tcu::ConstPixelBufferAccess resultImage = draw(viewport); in iterate() local
351 …re(log, "Image compare", "Image compare", referenceImage->getAccess(), resultImage, 0.02f, tcu::CO… in iterate()
DvktDrawNegativeViewportHeightTests.cpp417 const tcu::ConstPixelBufferAccess resultImage = draw(viewport); in iterate() local
451 …re(log, "Image compare", "Image compare", referenceImage->getAccess(), resultImage, 0.02f, tcu::CO… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp680 tcu::TextureLevel resultImage; in iterate() local
716 resultImage.setStorage(dataFormat, renderedImage.getWidth(), renderedImage.getHeight()); in iterate()
717 …tcu::copy(resultImage.getAccess(), tcu::ConstPixelBufferAccess(dataFormat, renderedImage.getSize()… in iterate()
721 resultImage = renderedImage; in iterate()
727 tcu::Surface errorMask(resultImage.getWidth(), resultImage.getHeight()); in iterate()
730 const bool isOk = verify(resultImage.getAccess(), errorMask.getAccess()); in iterate()
733 << TestLog::Image("Rendered", "Rendered image", resultImage); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp657 …const tcu::ConstPixelBufferAccess resultImage (format, caseDef.attachmentSize.x(), caseDef.attach… in test() local
659 …text.getTestContext().getLog(), "Image Comparison", "", expectedImage, resultImage, tcu::UVec4(1),… in test()
949 …const tcu::ConstPixelBufferAccess resultImage (format, imageWidth, imageHeight, imageDepth, color… in testNoAtt() local
951 …text.getTestContext().getLog(), "Image Comparison", "", expectedImage, resultImage, tcu::UVec4(1),… in testNoAtt()
1327 …const tcu::ConstPixelBufferAccess resultImage (format, size.x(), size.y(), size.z(), colorBufferA… in testDifferentAttachmentSizes() local
1329 …target ") + de::toString(renderTargetIdx)).c_str(), "", expectedImage, resultImage, tcu::UVec4(1),… in testDifferentAttachmentSizes()
DvktPipelineStencilExportTests.cpp568 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in testStencilExportReplace() local
572 …text().getLog(), "color", "Image compare", referenceImage.getAccess(), resultImage, Vec4(0.02f), t… in testStencilExportReplace()
DvktPipelineRenderToImageTests.cpp1206 …const tcu::ConstPixelBufferAccess resultImage (format, checkSize.x(), checkSize.y(), checkDepth, … in testWithSizeReduction() local
1214 …text.getTestContext().getLog(), "Image Comparison", "", expectedImage, resultImage, tcu::Vec4(0.01… in testWithSizeReduction()
1216 …text.getTestContext().getLog(), "Image Comparison", "", expectedImage, resultImage, tcu::UVec4(2),… in testWithSizeReduction()
1616 …const tcu::ConstPixelBufferAccess resultImage (format, mipSize.x(), mipSize.y(), levelDepth, pLev… in testRenderToMipMaps() local
1625 …).getLog(), "Image Comparison", comparisonName.c_str(), expectedImage, resultImage, tcu::Vec4(0.01… in testRenderToMipMaps()
1627 …).getLog(), "Image Comparison", comparisonName.c_str(), expectedImage, resultImage, tcu::UVec4(2),… in testRenderToMipMaps()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp456 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in test() local
460 …text().getLog(), "color", "Image compare", referenceImage.getAccess(), resultImage, Vec4(0.02f), t… in test()
DvktFragmentOperationsScissorTests.cpp479 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in test() local
486 …t.getTestContext().getLog(), "color", "Image compare", referenceImage, resultImage, Vec4(0.02f), t… in test()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp696 …const vk::VkImage resultImage = m_params.accessType == ACCESS_TYPE_IMAGE_ATOMICS ? **imageSrc : *… in executeComputeTest() local
698 return validateResult(resultImage, vk::VK_IMAGE_LAYOUT_GENERAL, *texture2D, refSampler); in executeComputeTest()
1095 const vk::VkImage resultImage = m_params.accessType == ACCESS_TYPE_IMAGE_ATOMICS ? **imageSrc : in executeFragmentTest() local
1098 return validateResult(resultImage, imageLayout, *texture2D, refSampler); in executeFragmentTest()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2095 …Image resultImage (context, maxWidth, 1, format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK… in allStages() local
2096 …const Unique<VkFramebuffer> framebuffer (makeFramebuffer(context, *renderPass, resultImage.get… in allStages()
2113 resultImage.getImage(), subresourceRange); in allStages()
2146 …copyImageToBuffer(context.getDeviceInterface(), *cmdBuffer, resultImage.getImage(), imageBufferRes… in allStages()
2552 Image resultImage(context, width, height, format, in makeFragmentFrameBufferTest() local
2560 *renderPass, resultImage.getImageView(), width, height)); in makeFragmentFrameBufferTest()
2590 …copyImageToBuffer(context.getDeviceInterface(), *cmdBuffer, resultImage.getImage(), resultBuffer.g… in makeFragmentFrameBufferTest()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1766 …const tcu::ConstPixelBufferAccess resultImage (tcuFormat, caseDef.size.x(), caseDef.size.y(), cas… in testMutable() local
1773 …text.getTestContext().getLog(), "Image comparison", "", expectedImage, resultImage, tcu::UVec4(1),… in testMutable()
1775 …text.getTestContext().getLog(), "Image comparison", "", expectedImage, resultImage, tcu::Vec4(0.01… in testMutable()
2275 …const tcu::ConstPixelBufferAccess resultImage(tcuFormat, caseDef.size.x(), caseDef.size.y(), caseD… in testSwapchainMutable() local
2282 …text.getTestContext().getLog(), "Image comparison", "", expectedImage, resultImage, tcu::UVec4(1),… in testSwapchainMutable()
2284 …text.getTestContext().getLog(), "Image comparison", "", expectedImage, resultImage, tcu::Vec4(0.01… in testSwapchainMutable()

12