Home
last modified time | relevance | path

Searched refs:colorBufferAlloc (Results 1 - 25 of 50) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp180 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate() local
181 invalidateAlloc(vk, device, colorBufferAlloc); in iterate()
182 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
H A DvktGeometryInstancedRenderingTests.cpp368 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test()
378 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
383 invalidateAlloc(vk, device, *colorBufferAlloc); in test()
384 const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in test()
H A DvktGeometryLayeredRenderingTests.cpp1247 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
1261 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize);
1277 invalidateAlloc(vk, device, *colorBufferAlloc);
1279 if (!verifyResults(context.getTestContext().getLog(), params, colorFormat, colorBufferAlloc->getHostPtr()))
1330 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
1413 fillBuffer(vk, device, *colorBufferAlloc, bufferOffset, bufferSliceSize, colorFormat, clearColor);
1506 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize);
1546 invalidateAlloc(vk, device, *colorBufferAlloc);
1550 if (!verifyResults(context.getTestContext().getLog(), params, colorFormat, colorBufferAlloc->getHostPtr()))
1602 const UniquePtr<Allocation> colorBufferAlloc (bindBuffe
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicClass.cpp180 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate() local
181 invalidateAlloc(vk, device, colorBufferAlloc); in iterate()
182 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
H A DvktGeometryInstancedRenderingTests.cpp368 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test()
378 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
383 invalidateAlloc(vk, device, *colorBufferAlloc); in test()
384 const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in test()
H A DvktGeometryLayeredRenderingTests.cpp1247 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
1261 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize);
1277 invalidateAlloc(vk, device, *colorBufferAlloc);
1279 if (!verifyResults(context.getTestContext().getLog(), params, colorFormat, colorBufferAlloc->getHostPtr()))
1330 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
1413 fillBuffer(vk, device, *colorBufferAlloc, bufferOffset, bufferSliceSize, colorFormat, clearColor);
1506 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize);
1546 invalidateAlloc(vk, device, *colorBufferAlloc);
1550 if (!verifyResults(context.getTestContext().getLog(), params, colorFormat, colorBufferAlloc->getHostPtr()))
1602 const UniquePtr<Allocation> colorBufferAlloc (bindBuffe
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineStencilExportTests.cpp484 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in testStencilExportReplace()
487 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testStencilExportReplace()
488 flushAlloc(vk, device, *colorBufferAlloc); in testStencilExportReplace()
585 invalidateAlloc(vk, device, *colorBufferAlloc); in testStencilExportReplace()
586 const tcu::ConstPixelBufferAccess resultImage(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in testStencilExportReplace()
H A DvktPipelineMultisampleShaderFragmentMaskTests.cpp380 MovePtr<Allocation> colorBufferAlloc; member
929 invalidateMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->getOffset(), VK_WHOLE_SIZE); in drawAndSampleInputAttachment()
1211 invalidateMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->getOffset(), VK_WHOLE_SIZE); in dispatchSampleImage()
1257 wd.colorBufferAlloc = bindBuffer(vk, device, *allocator, *wd.colorBuffer, MemoryRequirement::HostVisible); in test()
1259 deMemset(wd.colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(wd.colorBufferSize)); in test()
1260 flushMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->getOffset(), VK_WHOLE_SIZE); in test()
1287 deMemcpy(&fmaskFetchColorBuffer[0], wd.colorBufferAlloc in test()
[all...]
H A DvktPipelineRenderToImageTests.cpp963 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vki, vk, physDevice, device, *colorBuffer, MemoryRequirement::HostVisible, allocator, caseDef.allocationKind)); in testWithSizeReduction()
966 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testWithSizeReduction()
967 flushAlloc(vk, device, *colorBufferAlloc); in testWithSizeReduction()
1191 invalidateAlloc(vk, device, *colorBufferAlloc); in testWithSizeReduction()
1196 const tcu::ConstPixelBufferAccess resultImage (format, checkSize.x(), checkSize.y(), checkDepth, colorBufferAlloc->getHostPtr()); in testWithSizeReduction()
1460 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vki, vk, physDevice, device, *colorBuffer, MemoryRequirement::HostVisible, allocator, caseDef.allocationKind)); in testRenderToMipMaps()
1463 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testRenderToMipMaps()
1464 flushAlloc(vk, device, *colorBufferAlloc); in testRenderToMipMaps()
1660 invalidateAlloc(vk, device, *colorBufferAlloc); in testRenderToMipMaps()
1670 const void* const pLevelData = static_cast<const deUint8*>(colorBufferAlloc in testRenderToMipMaps()
[all...]
H A DvktPipelineDynamicVertexAttributeTests.cpp467 const de::UniquePtr<vk::Allocation> colorBufferAlloc (bindBuffer(vk,*device, allocator, *colorBuffer, vk::MemoryRequirement::HostVisible)); in iterate()
511 invalidateAlloc(vk,*device, *colorBufferAlloc); in iterate()
513 const tcu::ConstPixelBufferAccess resultPixelAccess(mapVkFormat(vk::VK_FORMAT_R8G8B8A8_UNORM), (int)extent.width, (int)extent.height, 1, colorBufferAlloc->getHostPtr()); in iterate()
H A DvktPipelineMaxVaryingsTests.cpp968 MovePtr<Allocation> colorBufferAlloc = bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible); in test() local
1115 invalidateAlloc(vk, device, *colorBufferAlloc); in test()
1117 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(imageFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in test()
H A DvktPipelineMultisampleResolveRenderAreaTests.cpp275 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBufferResults, MemoryRequirement::HostVisible)); in iterate()
379 invalidateAlloc(vk, device, *colorBufferAlloc); in iterate()
383 tcu::ConstPixelBufferAccess imageAccess (mapVkFormat(m_colorFormat), m_framebufferSize.x(), m_framebufferSize.y(), 1, colorBufferAlloc->getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineStencilExportTests.cpp479 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in testStencilExportReplace()
482 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testStencilExportReplace()
483 flushAlloc(vk, device, *colorBufferAlloc); in testStencilExportReplace()
574 invalidateAlloc(vk, device, *colorBufferAlloc); in testStencilExportReplace()
575 const tcu::ConstPixelBufferAccess resultImage(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in testStencilExportReplace()
H A DvktPipelineMultisampleShaderFragmentMaskTests.cpp400 MovePtr<Allocation> colorBufferAlloc; member
957 invalidateMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->getOffset(), VK_WHOLE_SIZE); in drawAndSampleInputAttachment()
1246 invalidateMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->getOffset(), VK_WHOLE_SIZE); in dispatchSampleImage()
1292 wd.colorBufferAlloc = bindBuffer(vk, device, *allocator, *wd.colorBuffer, MemoryRequirement::HostVisible); in test()
1294 deMemset(wd.colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(wd.colorBufferSize)); in test()
1295 flushMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->getOffset(), VK_WHOLE_SIZE); in test()
1322 deMemcpy(&fmaskFetchColorBuffer[0], wd.colorBufferAlloc in test()
[all...]
H A DvktPipelineRenderToImageTests.cpp879 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vki, vk, physDevice, device, *colorBuffer, MemoryRequirement::HostVisible, allocator, caseDef.allocationKind)); in testWithSizeReduction()
882 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testWithSizeReduction()
883 flushAlloc(vk, device, *colorBufferAlloc); in testWithSizeReduction()
1108 invalidateAlloc(vk, device, *colorBufferAlloc); in testWithSizeReduction()
1113 const tcu::ConstPixelBufferAccess resultImage (format, checkSize.x(), checkSize.y(), checkDepth, colorBufferAlloc->getHostPtr()); in testWithSizeReduction()
1333 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vki, vk, physDevice, device, *colorBuffer, MemoryRequirement::HostVisible, allocator, caseDef.allocationKind)); in testRenderToMipMaps()
1336 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testRenderToMipMaps()
1337 flushAlloc(vk, device, *colorBufferAlloc); in testRenderToMipMaps()
1533 invalidateAlloc(vk, device, *colorBufferAlloc); in testRenderToMipMaps()
1543 const void* const pLevelData = static_cast<const deUint8*>(colorBufferAlloc in testRenderToMipMaps()
[all...]
H A DvktPipelineFramebufferAttachmentTests.cpp404 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test()
648 invalidateAlloc(vk, device, *colorBufferAlloc); in test()
653 const tcu::ConstPixelBufferAccess resultImage (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y(), depth, colorBufferAlloc->getHostPtr()); in test()
812 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in testNoAtt()
939 invalidateAlloc(vk, device, *colorBufferAlloc); in testNoAtt()
943 const tcu::ConstPixelBufferAccess resultImage (format, imageWidth, imageHeight, imageDepth, colorBufferAlloc->getHostPtr()); in testNoAtt()
1514 MovePtr<Allocation> colorBufferAlloc = bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible); in testInputResolveSameAttachment() local
1697 invalidateAlloc(vk, device, *colorBufferAlloc); in testInputResolveSameAttachment()
1712 const tcu::ConstPixelBufferAccess resultImage (format, attachmentSize.x(), attachmentSize.y(), attachmentSize.z(), colorBufferAlloc->getHostPtr()); in testInputResolveSameAttachment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp412 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test()
414 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
430 invalidateAlloc(vk, device, *colorBufferAlloc); in test()
432 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp412 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test()
414 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
430 invalidateAlloc(vk, device, *colorBufferAlloc); in test()
432 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr()); in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMutableTests.cpp899 MovePtr<Allocation> colorBufferAlloc; member
1189 m_uCopy.colorBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uCopy.colorBuffer, MemoryRequirement::HostVisible); in uploadCopy()
1196 tcu::PixelBufferAccess imageAccess = tcu::PixelBufferAccess(tcuFormat, m_caseDef.size.x(), m_caseDef.size.y(), 1u, (deUint8*) m_uCopy.colorBufferAlloc->getHostPtr() + layerOffset); in uploadCopy()
1210 flushAlloc(m_vk, m_device, *(m_uCopy.colorBufferAlloc)); in uploadCopy()
1601 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in testMutable()
1602 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testMutable()
1603 flushAlloc(vk, device, *colorBufferAlloc); in testMutable()
1611 invalidateAlloc(vk, device, *colorBufferAlloc); in testMutable()
1617 const tcu::ConstPixelBufferAccess resultImage (tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLayers, colorBufferAlloc->getHostPtr()); in testMutable()
2143 const UniquePtr<Allocation> colorBufferAlloc(bindBuffe in testSwapchainMutable()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMutableTests.cpp899 MovePtr<Allocation> colorBufferAlloc; member
1189 m_uCopy.colorBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uCopy.colorBuffer, MemoryRequirement::HostVisible); in uploadCopy()
1196 tcu::PixelBufferAccess imageAccess = tcu::PixelBufferAccess(tcuFormat, m_caseDef.size.x(), m_caseDef.size.y(), 1u, (deUint8*) m_uCopy.colorBufferAlloc->getHostPtr() + layerOffset); in uploadCopy()
1210 flushAlloc(m_vk, m_device, *(m_uCopy.colorBufferAlloc)); in uploadCopy()
1601 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in testMutable()
1602 deMemset(colorBufferAlloc->getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testMutable()
1603 flushAlloc(vk, device, *colorBufferAlloc); in testMutable()
1611 invalidateAlloc(vk, device, *colorBufferAlloc); in testMutable()
1617 const tcu::ConstPixelBufferAccess resultImage (tcuFormat, caseDef.size.x(), caseDef.size.y(), caseDef.numLayers, colorBufferAlloc->getHostPtr()); in testMutable()
2143 const UniquePtr<Allocation> colorBufferAlloc(bindBuffe in testSwapchainMutable()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp434 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in test() local
436 invalidateAlloc(vk, device, colorBufferAlloc); in test()
438 const tcu::ConstPixelBufferAccess imagePixelAccess (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in test()
H A DvktTessellationWindingTests.cpp546 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate() local
548 invalidateAlloc(vk, device, colorBufferAlloc); in iterate()
550 const tcu::ConstPixelBufferAccess imagePixelAccess (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp434 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in test() local
436 invalidateAlloc(vk, device, colorBufferAlloc); in test()
438 const tcu::ConstPixelBufferAccess imagePixelAccess (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in test()
H A DvktTessellationMiscDrawTests.cpp284 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in runTest() local
286 invalidateAlloc(vk, device, colorBufferAlloc); in runTest()
289 const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in runTest()
H A DvktTessellationWindingTests.cpp546 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate() local
548 invalidateAlloc(vk, device, colorBufferAlloc); in iterate()
550 const tcu::ConstPixelBufferAccess imagePixelAccess (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()); in iterate()

Completed in 39 milliseconds

12