Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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.cpp209 …tcu::PixelBufferAccess referenceAccess (imageFormat, imageSize, imageSize, 1, referenceAllocation.… in iterate() local
212 …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.cpp788 …tcu::PixelBufferAccess referenceAccess (imageFormat, testParams.width, testParams.height, 1, refe… in verifyImage() local
812 referenceAccess.setPixel(tcu::Vec4(refValue, 0.0f, 0.0f, 1.0f), i, j); in verifyImage()
815 …dCompare(context.getTestContext().getLog(), "Result comparison", "", referenceAccess, resultAccess… in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp444 auto referenceAccess = referenceTexture.getAccess(); in verifyImage() local
456 referenceAccess.setPixel(expectedColor, x, y); in verifyImage()
459 …bool resultOk = tcu::intThresholdCompare(log, "TestResults", "Test Result Images", referenceAccess in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageQualifiersTests.cpp438 tcu::PixelBufferAccess referenceAccess = reference.getAccess(); in generateReferenceImage() local
449 for (deInt32 z = 0; z < referenceAccess.getDepth(); ++z) in generateReferenceImage()
450 for (deInt32 y = 0; y < referenceAccess.getHeight(); ++y) in generateReferenceImage()
451 for (deInt32 x = 0; x < referenceAccess.getWidth(); ++x) in generateReferenceImage()
466 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp1290 tcu::PixelBufferAccess referenceAccess (referenceImage.getAccess()); in verifyImage() local
1300 referenceAccess.setPixel(validColor, x, y); in verifyImage()
1311 referenceAccess.setPixel(validColor, x, y); in verifyImage()
1322 referenceAccess.setPixel(validColor, x, y); in verifyImage()
1324referenceAccess.setPixel(magenta, (1 + referenceImage.getWidth()) / 4 - 1, (referenceImage.getHeig… in verifyImage()
1328referenceAccess.setPixel(magenta, x + (referenceImage.getWidth() * 3) / 4 - 1, y + (referenceImage… in verifyImage()
1331 if (deMemCmp(resultData, referenceAccess.getDataPtr(), dataSize) != 0) in verifyImage()
1336 …Compare(m_context.getTestContext().getLog(), "Image comparison", "", referenceAccess, resultImage,… in verifyImage()
1443 tcu::PixelBufferAccess referenceAccess (referenceImage.getAccess()); in verifyImage() local
1448 referenceAccess.setPixel(white, x, y); in verifyImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp208 const auto referenceAccess = referenceLevel.getAccess(); in verifyResult() local
210 const auto refWidth = referenceAccess.getWidth(); in verifyResult()
211 const auto refHeight = referenceAccess.getHeight(); in verifyResult()
212 const auto refDepth = referenceAccess.getDepth(); in verifyResult()
231 const auto refFormat = referenceAccess.getFormat(); in verifyResult()
244 …return tcu::floatThresholdCompare(log, "Result", "", referenceAccess, resultAccess, thresholdVec, … in verifyResult()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1095 const tcu::ConstPixelBufferAccess referenceAccess (referenceImage.getAccess()); in verifyBufferInternal() local
1097 if (deMemCmp(resultData, referenceAccess.getDataPtr(), dataSize) != 0) in verifyBufferInternal()
1102 …esholdCompare(m_context.getTestContext().getLog(), name.c_str(), "", referenceAccess, resultImage,… in verifyBufferInternal()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4700 tcu::PixelBufferAccess referenceAccess = referenceLevel.getAccess(); in iterate() local
4724 referenceAccess.setPixel(expectedValue, x, y); in iterate()
4741 << tcu::TestLog::Image("ColorReference", "", referenceAccess) in iterate()