Home
last modified time | relevance | path

Searched refs:referenceAccess (Results 1 – 25 of 26) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp583 …tcu::PixelBufferAccess referenceAccess(imageFormat, testParams.width, testParams.height, 2, refer… in verifyImage() local
637 tcu::clear(referenceAccess, clearValue); in verifyImage()
642 referenceAccess.setPixel(hitValue0, vertexNdx, 0, 0); in verifyImage()
643 referenceAccess.setPixel(hitValue1, vertexNdx, 0, 1); in verifyImage()
647 referenceAccess.setPixel(missValue, vertexNdx, 0, 0); in verifyImage()
648 referenceAccess.setPixel(missValue, vertexNdx, 0, 1); in verifyImage()
655 tcu::clear(referenceAccess, clearValue); in verifyImage()
662 referenceAccess.setPixel(hitValue0, primitiveNdx, vertexNdx, 0); in verifyImage()
663 referenceAccess.setPixel(hitValue1, primitiveNdx, vertexNdx, 1); in verifyImage()
667 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 0); in verifyImage()
[all …]
DvktRayQueryCullRayFlagsTests.cpp666 …tcu::PixelBufferAccess referenceAccess(imageFormat, testParams.width, testParams.height, 2, refer… in verifyImage() local
691 tcu::clear(referenceAccess, clearValue); in verifyImage()
695 referenceAccess.setPixel(hitValue, vNdx, 0, 0); in verifyImage()
696 referenceAccess.setPixel(hitValue, vNdx, 0, 1); in verifyImage()
702 tcu::clear(referenceAccess, clearValue); in verifyImage()
708 referenceAccess.setPixel(hitValue, primitiveNdx, vertexNdx, 0); in verifyImage()
709 referenceAccess.setPixel(hitValue, primitiveNdx, vertexNdx, 1); in verifyImage()
713 tcu::clear(referenceAccess, missValue); in verifyImage()
720 referenceAccess.setPixel(hitValue, x, y, 0); in verifyImage()
721 referenceAccess.setPixel(hitValue, x, y, 1); in verifyImage()
[all …]
DvktRayQueryAccelerationStructuresTests.cpp678 …tcu::PixelBufferAccess referenceAccess(imageFormat, testParams.width, testParams.height, 2, refer… in verifyImage() local
694 tcu::clear(referenceAccess, clearValue); in verifyImage()
699 referenceAccess.setPixel(hitValue0, vertexNdx, 0, 0); in verifyImage()
700 referenceAccess.setPixel(hitValue1, vertexNdx, 0, 1); in verifyImage()
704 referenceAccess.setPixel(missValue, vertexNdx, 0, 0); in verifyImage()
705 referenceAccess.setPixel(missValue, vertexNdx, 0, 1); in verifyImage()
712 tcu::clear(referenceAccess, clearValue); in verifyImage()
719 referenceAccess.setPixel(hitValue0, primitiveNdx, vertexNdx, 0); in verifyImage()
720 referenceAccess.setPixel(hitValue1, primitiveNdx, vertexNdx, 1); in verifyImage()
724 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 0); in verifyImage()
[all …]
DvktRayQueryProceduralGeometryTests.cpp205 …tcu::PixelBufferAccess referenceAccess (imageFormat, imageSize, imageSize, 1, referenceAllocation.… in iterate() local
208 …ompare(m_context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraversalControlTests.cpp319 …tcu::PixelBufferAccess referenceAccess(imageFormat, testParams.width, testParams.height, 2, refer… in verifyImage() local
356 tcu::clear(referenceAccess, missValue0); in verifyImage()
359 referenceAccess.setPixel(missValue1, x, y, 1); in verifyImage()
364 referenceAccess.setPixel(hitValue0, x, y, 0); in verifyImage()
365 referenceAccess.setPixel(hitValue1, x, y, 1); in verifyImage()
369 …dCompare(context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in verifyImage()
DvktRayTracingCallableShadersTests.cpp371 …tcu::PixelBufferAccess referenceAccess(imageFormat, testParams.width, testParams.height, 1, refer… in verifyImage() local
398 tcu::clear(referenceAccess, missValue); in verifyImage()
401 referenceAccess.setPixel(hitValue, x, y); in verifyImage()
404 …dCompare(context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in verifyImage()
DvktRayTracingProceduralGeometryTests.cpp287 …tcu::PixelBufferAccess referenceAccess (imageFormat, imageSize, imageSize, 1, referenceAllocation.… in iterate() local
290 …ompare(m_context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in iterate()
DvktRayTracingShaderBindingTableTests.cpp579 …tcu::PixelBufferAccess referenceAccess(imageFormat, testParams.width, testParams.height, 1, refer… in verifyImage() local
582 tcu::clear(referenceAccess, missValue); in verifyImage()
609 referenceAccess.setPixel(tcu::UVec4(shaderIndex, 0, 0, 0), pixel.x(), pixel.y()); in verifyImage()
613 …dCompare(context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in verifyImage()
DvktRayTracingAccelerationStructuresTests.cpp866 …tcu::PixelBufferAccess referenceAccess (imageFormat, testParams.width, testParams.height, 1, refe… in verifyImage() local
890 referenceAccess.setPixel(tcu::Vec4(refValue, 0.0f, 0.0f, 1.0f), i, j); in verifyImage()
893 …dCompare(context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in verifyImage()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageQualifiersTests.cpp439 tcu::PixelBufferAccess referenceAccess = reference.getAccess(); in generateReferenceImage() local
450 for (deInt32 z = 0; z < referenceAccess.getDepth(); ++z) in generateReferenceImage()
451 for (deInt32 y = 0; y < referenceAccess.getHeight(); ++y) in generateReferenceImage()
452 for (deInt32 x = 0; x < referenceAccess.getWidth(); ++x) in generateReferenceImage()
467 referenceAccess.setPixel(tcu::IVec4(sum), x, y, z); in generateReferenceImage()
DvktImageDepthStencilDescriptorTests.cpp1197 auto referenceAccess = referenceDepth.getAccess(); in iterate() local
1203 referenceAccess.setPixDepth(refDepthVal, x, y, z); in iterate()
1206 …if (!tcu::dsThresholdCompare(log, "DepthResult", "", referenceAccess, depthPixels, 0.1f, tcu::COMP… in iterate()
1217 auto referenceAccess = referenceStencil.getAccess(); in iterate() local
1223 referenceAccess.setPixStencil(refStencilVal, x, y, z); in iterate()
1226 …if (!tcu::dsThresholdCompare(log, "StencilResult", "", referenceAccess, stencilPixels, 0.0f, tcu::… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp454 auto referenceAccess = referenceTexture.getAccess(); in verifyImage() local
466 referenceAccess.setPixel(expectedColor, x, y); in verifyImage()
469 …bool resultOk = tcu::intThresholdCompare(log, "TestResults", "Test Result Images", referenceAccess in verifyImage()
DvktPipelineDynamicOffsetTests.cpp2005 const tcu::PixelBufferAccess referenceAccess = referenceTexture.getAccess(); in iterate() local
2018 referenceAccess.setPixel(tcu::Vec4(colorValue, 0.5f, colorValue, 1.0f), x, y); in iterate()
2048referenceAccess.setPixel(tcu::Vec4(colorValueRed, colorValueGreen, colorValueBlue, 1.0f), x, y); in iterate()
2057 …if (!tcu::floatThresholdCompare(log, "color", "Image compare", referenceAccess, resultPixelAccess,… in iterate()
DvktPipelineShaderModuleIdentifierTests.cpp3444 const auto referenceAccess = referenceLevel.getAccess(); in iterate() local
3449 referenceAccess.setPixel(outColors.at(y*iExtent.x() + x), x, y); in iterate()
3451 …tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, threshold, tcu::COMPA… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDitheringTests.cpp321 … const tcu::ConstPixelBufferAccess& referenceAccess = referenceTextureLevelResult->getAccess(); in iterate() local
330 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), "", "", referenceAccess, in iterate()
346 … const tcu::ConstPixelBufferAccess& referenceAccess = referenceTextureLevelResult->getAccess(); in iterate() local
355 if (!tcu::dsThresholdCompare(m_context.getTestContext().getLog(), "", "", referenceAccess, in iterate()
365 … const tcu::ConstPixelBufferAccess& referenceAccess = referenceTextureLevelResult->getAccess(); in iterate() local
374 if (!tcu::dsThresholdCompare(m_context.getTestContext().getLog(), "", "", referenceAccess, in iterate()
DvktRenderPassSubpassDependencyTests.cpp2220 const PixelBufferAccess referenceAccess (reference.getAccess()); in iterateInternal() local
2244 …BufferAccess msAccess (rr::MultisamplePixelBufferAccess::fromSinglesampleAccess(referenceAccess)); in iterateInternal()
2252 tcu::clear(referenceAccess, tcu::UVec4(0, 255, 0, 255)); in iterateInternal()
2259 referenceAccess, // reference in iterateInternal()
2844 const PixelBufferAccess referenceAccess (reference.getAccess()); in iterateInternal() local
2852 referenceAccess.setPixel(refValue, x, y, 0); in iterateInternal()
2858 referenceAccess, // reference in iterateInternal()
3566 const PixelBufferAccess referenceAccess (reference.getAccess()); in iterateInternal() local
3571 referenceAccess.setPixel(tcu::Vec4(0.3f, 0.6f, 0.0f, 1.0f), x, y, 0); in iterateInternal()
3577 referenceAccess, // reference in iterateInternal()
/external/deqp/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderInOutTestsEXT.cpp574 bool verifyResult (const tcu::ConstPixelBufferAccess& referenceAccess) const;
982 const auto referenceAccess = referenceLevel.getAccess(); in verifyResult() local
984 const auto refWidth = referenceAccess.getWidth(); in verifyResult()
985 const auto refHeight = referenceAccess.getHeight(); in verifyResult()
986 const auto refDepth = referenceAccess.getDepth(); in verifyResult()
1005 const auto refFormat = referenceAccess.getFormat(); in verifyResult()
1018 …return tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, thresholdVec, … in verifyResult()
DvktMeshShaderSmokeTestsEXT.cpp1310 tcu::PixelBufferAccess referenceAccess = referenceLevel.getAccess(); in iterate() local
1313 tcu::clear(referenceAccess, bgColor); in iterate()
1320 referenceAccess.setPixel(color, xCoord, yCoord); in iterate()
1530 …if (!tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, errorThreshold, … in iterate()
DvktMeshShaderMiscTests.cpp211 const auto referenceAccess = referenceLevel.getAccess(); in verifyResult() local
213 const auto refWidth = referenceAccess.getWidth(); in verifyResult()
214 const auto refHeight = referenceAccess.getHeight(); in verifyResult()
215 const auto refDepth = referenceAccess.getDepth(); in verifyResult()
234 const auto refFormat = referenceAccess.getFormat(); in verifyResult()
247 …return tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, thresholdVec, … in verifyResult()
DvktMeshShaderMiscTestsEXT.cpp215 const auto referenceAccess = referenceLevel.getAccess(); in verifyResult() local
217 const auto refWidth = referenceAccess.getWidth(); in verifyResult()
218 const auto refHeight = referenceAccess.getHeight(); in verifyResult()
219 const auto refDepth = referenceAccess.getDepth(); in verifyResult()
238 const auto refFormat = referenceAccess.getFormat(); in verifyResult()
251 …return tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, thresholdVec, … in verifyResult()
DvktMeshShaderPropertyTestsEXT.cpp2355 tcu::PixelBufferAccess referenceAccess = referenceLevel.getAccess(); in iterate() local
2359 const auto layer = tcu::getSubregion(referenceAccess, 0, 0, z, iExtent3D.x(), iExtent3D.y(), 1); in iterate()
2365 …if (!tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, colorThreshold, … in iterate()
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp1484 tcu::PixelBufferAccess referenceAccess (referenceImage.getAccess()); in verifyImage() local
1494 referenceAccess.setPixel(validColor, x, y); in verifyImage()
1505 referenceAccess.setPixel(validColor, x, y); in verifyImage()
1516 referenceAccess.setPixel(validColor, x, y); in verifyImage()
1518referenceAccess.setPixel(magenta, (1 + referenceImage.getWidth()) / 4 - 1, (referenceImage.getHeig… in verifyImage()
1522referenceAccess.setPixel(magenta, x + (referenceImage.getWidth() * 3) / 4 - 1, y + (referenceImage… in verifyImage()
1525 if (deMemCmp(resultData, referenceAccess.getDataPtr(), dataSize) != 0) in verifyImage()
1530 …Compare(m_context.getTestContext().getLog(), "Image comparison", "", referenceAccess, resultImage,… in verifyImage()
1639 tcu::PixelBufferAccess referenceAccess (referenceImage.getAccess()); in verifyImage() local
1644 referenceAccess.setPixel(white, x, y); in verifyImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationProvokingVertexTests.cpp784 tcu::ConstPixelBufferAccess referenceAccess = referenceSurface.getAccess(); in iterate() local
835 if (deMemCmp(referenceAccess.getDataPtr(), resultAccess.getDataPtr(), bufferSize) != 0) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1151 const tcu::ConstPixelBufferAccess referenceAccess (referenceImage.getAccess()); in verifyBufferInternal() local
1153 if (deMemCmp(resultData, referenceAccess.getDataPtr(), dataSize) != 0) in verifyBufferInternal()
1158 …esholdCompare(m_context.getTestContext().getLog(), name.c_str(), "", referenceAccess, resultImage,… in verifyBufferInternal()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4628 tcu::PixelBufferAccess referenceAccess = referenceLevel.getAccess(); in iterate() local
4652 referenceAccess.setPixel(expectedValue, x, y); in iterate()
4669 << tcu::TestLog::Image("ColorReference", "", referenceAccess) in iterate()

12