/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 101 const tcu::IVec2& renderSize, in makeGraphicsPipeline() argument 107 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 108 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in makeGraphicsPipeline() 375 const tcu::IVec2 renderSize = tcu::IVec2(32, 32); in iterate() local 378 …const Unique<VkImage> colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorF… in iterate() 401 …const Unique<VkImage> testImage (makeImage(vk, device, makeImageCreateInfo(renderSize, testFo… in iterate() 445 …lorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderSize.x() * renderSize.y(); in iterate() 471 …, device, *renderPass, numUsedAttachmentImages, attachmentImages, renderSize.x(), renderSize.y())); in iterate() 473 …phicsPipeline(vk, device, *pipelineLayout, *renderPass, *vertexModule, *fragmentModule, renderSize, in iterate() 483 makeExtent2D(renderSize.x(), renderSize.y()), in iterate() [all …]
|
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 102 const IVec2 renderSize, in makeGraphicsPipeline() argument 106 const VkViewport defaultViewport = makeViewport(renderSize); in makeGraphicsPipeline() 138 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors() argument 144 const int rectWidth = renderSize.x() / numCols; in generateScissors() 145 const int rectHeight = renderSize.y() / numRows; in generateScissors() 199 const IVec2& renderSize, in generateReferenceImage() argument 206 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 303 const IVec2& renderSize, in ScissorRenderer() argument 309 : m_renderSize (renderSize) in ScissorRenderer() 404 const IVec2 renderSize (128, 128); in test() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 101 const tcu::IVec2& renderSize, in makeGraphicsPipeline() argument 107 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 108 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in makeGraphicsPipeline() 375 const tcu::IVec2 renderSize = tcu::IVec2(32, 32); in iterate() local 378 …const Unique<VkImage> colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorF… in iterate() 401 …const Unique<VkImage> testImage (makeImage(vk, device, makeImageCreateInfo(renderSize, testFo… in iterate() 445 …lorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderSize.x() * renderSize.y(); in iterate() 471 …, device, *renderPass, numUsedAttachmentImages, attachmentImages, renderSize.x(), renderSize.y())); in iterate() 473 …phicsPipeline(vk, device, *pipelineLayout, *renderPass, *vertexModule, *fragmentModule, renderSize, in iterate() 483 makeExtent2D(renderSize.x(), renderSize.y()), in iterate() [all …]
|
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 102 const IVec2 renderSize, in makeGraphicsPipeline() argument 106 const VkViewport defaultViewport = makeViewport(renderSize); in makeGraphicsPipeline() 138 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors() argument 144 const int rectWidth = renderSize.x() / numCols; in generateScissors() 145 const int rectHeight = renderSize.y() / numRows; in generateScissors() 199 const IVec2& renderSize, in generateReferenceImage() argument 206 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 303 const IVec2& renderSize, in ScissorRenderer() argument 309 : m_renderSize (renderSize) in ScissorRenderer() 404 const IVec2 renderSize (128, 128); in test() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineStencilExportTests.cpp | 357 const UVec2 renderSize, in preparePipelineWrapper() argument 372 const std::vector<VkViewport> viewport { makeViewport(renderSize) }; in preparePipelineWrapper() 373 const std::vector<VkRect2D> scissor { makeRect2D(renderSize) }; in preparePipelineWrapper() 441 const UVec2& renderSize, in generateReferenceImage() argument 446 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 449 deUint32 rows = renderSize.y() / patternSize; in generateReferenceImage() 450 deUint32 cols = renderSize.x() / patternSize; in generateReferenceImage() 473 const UVec2 renderSize (128, 128); in testStencilExportReplace() local 476 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVk… in testStencilExportReplace() 493 …= makeImage (vk, device, makeImageCreateInfo(params.stencilFormat, renderSize, VK_IMAGE_USAGE_… in testStencilExportReplace() [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 69 IVec2 renderSize; member 96 const IVec2 renderSize, in makeGraphicsPipelines() argument 143 const VkViewport viewport = makeViewport(renderSize); in makeGraphicsPipelines() 144 const VkRect2D scissor = makeRect2D(renderSize); in makeGraphicsPipelines() 327 const IVec2 renderSize, in preparePipelineWrapper() argument 365 const std::vector<VkViewport> viewport { makeViewport(renderSize) }; in preparePipelineWrapper() 366 const std::vector<VkRect2D> scissor { makeRect2D(renderSize) }; in preparePipelineWrapper() 1009 … static_cast<deUint32>(caseDef.renderSize.x()), static_cast<deUint32>(caseDef.renderSize.y()))); in renderMultisampledImage() 1018 caseDef.renderSize, caseDef.numSamples, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST); in renderMultisampledImage() 1028 caseDef.renderSize, caseDef.numSamples, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST); in renderMultisampledImage() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineStencilExportTests.cpp | 357 const UVec2 renderSize, in preparePipelineWrapper() argument 372 const std::vector<VkViewport> viewport { makeViewport(renderSize) }; in preparePipelineWrapper() 373 const std::vector<VkRect2D> scissor { makeRect2D(renderSize) }; in preparePipelineWrapper() 441 const UVec2& renderSize, in generateReferenceImage() argument 446 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 449 deUint32 rows = renderSize.y() / patternSize; in generateReferenceImage() 450 deUint32 cols = renderSize.x() / patternSize; in generateReferenceImage() 473 const UVec2 renderSize (128, 128); in testStencilExportReplace() local 476 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVk… in testStencilExportReplace() 493 …= makeImage (vk, device, makeImageCreateInfo(params.stencilFormat, renderSize, VK_IMAGE_USAGE_… in testStencilExportReplace() [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 69 IVec2 renderSize; member 96 const IVec2 renderSize, in makeGraphicsPipelines() argument 143 const VkViewport viewport = makeViewport(renderSize); in makeGraphicsPipelines() 144 const VkRect2D scissor = makeRect2D(renderSize); in makeGraphicsPipelines() 327 const IVec2 renderSize, in preparePipelineWrapper() argument 365 const std::vector<VkViewport> viewport { makeViewport(renderSize) }; in preparePipelineWrapper() 366 const std::vector<VkRect2D> scissor { makeRect2D(renderSize) }; in preparePipelineWrapper() 1009 … static_cast<deUint32>(caseDef.renderSize.x()), static_cast<deUint32>(caseDef.renderSize.y()))); in renderMultisampledImage() 1018 caseDef.renderSize, caseDef.numSamples, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST); in renderMultisampledImage() 1028 caseDef.renderSize, caseDef.numSamples, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST); in renderMultisampledImage() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiSmokeTests.cpp | 339 const tcu::IVec2 renderSize (256, 256); in renderTriangleTest() local 366 …kDeviceSize imageSizeBytes = (VkDeviceSize)(sizeof(deUint32)*renderSize.x()*renderSize.y()); in renderTriangleTest() 390 { (deUint32)renderSize.x(), (deUint32)renderSize.y(), 1 }, // extent in renderTriangleTest() 451 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleTest() 452 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in renderTriangleTest() 475 (deUint32)renderSize.x(), // width in renderTriangleTest() 476 (deUint32)renderSize.y(), // height in renderTriangleTest() 535 …rPass(vk, *cmdBuf, *renderPass, *framebuffer, makeRect2D(0, 0, renderSize.x(), renderSize.y()), cl… in renderTriangleTest() 544 copyImageToBuffer(vk, *cmdBuf, *image, *readImageBuffer, renderSize); in renderTriangleTest() 557 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, read… in renderTriangleTest() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiSmokeTests.cpp | 339 const tcu::IVec2 renderSize (256, 256); in renderTriangleTest() local 366 …kDeviceSize imageSizeBytes = (VkDeviceSize)(sizeof(deUint32)*renderSize.x()*renderSize.y()); in renderTriangleTest() 390 { (deUint32)renderSize.x(), (deUint32)renderSize.y(), 1 }, // extent in renderTriangleTest() 451 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleTest() 452 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in renderTriangleTest() 475 (deUint32)renderSize.x(), // width in renderTriangleTest() 476 (deUint32)renderSize.y(), // height in renderTriangleTest() 535 …rPass(vk, *cmdBuf, *renderPass, *framebuffer, makeRect2D(0, 0, renderSize.x(), renderSize.y()), cl… in renderTriangleTest() 544 copyImageToBuffer(vk, *cmdBuf, *image, *readImageBuffer, renderSize); in renderTriangleTest() 557 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, read… in renderTriangleTest() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderLayerTests.cpp | 117 const UVec2 renderSize) in makeGraphicsPipeline() argument 165 …ewport = makeViewport(0.0f, 0.0f, static_cast<float>(renderSize.x()), static_cast<float>(renderSiz… in makeGraphicsPipeline() 166 VkRect2D rectScissor = { { 0, 0 }, { renderSize.x(), renderSize.y() } }; in makeGraphicsPipeline() 353 const UVec2& renderSize, in generateReferenceImage() argument 358 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 500 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument 504 const int rectWidth = renderSize.x() / numCols; in generateGrid() 505 const int rectHeight = renderSize.y() / numRows; in generateGrid() 563 …Vertices (const std::vector<UVec4>& grid, const std::vector<Vec4>& colors, const UVec2& renderSize) in generateVertices() argument 580 float x = cell.x() / float(renderSize.x()) - 1.0f; in generateVertices() [all …]
|
D | vktDrawShaderViewportIndexTests.cpp | 121 const UVec2 renderSize, in makeGraphicsPipeline() argument 181 const VkRect2D rect = makeRect2D(renderSize); in makeGraphicsPipeline() 368 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument 372 const int rectWidth = renderSize.x() / numCols; in generateGrid() 373 const int rectHeight = renderSize.y() / numRows; in generateGrid() 427 const UVec2& renderSize, in generateReferenceImage() argument 434 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 661 const UVec2& renderSize, in Renderer() argument 669 , m_renderSize (renderSize) in Renderer() 944 const UVec2 renderSize (128, 128); in testVertexFragmentShader() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawShaderLayerTests.cpp | 117 const UVec2 renderSize) in makeGraphicsPipeline() argument 165 …ewport = makeViewport(0.0f, 0.0f, static_cast<float>(renderSize.x()), static_cast<float>(renderSiz… in makeGraphicsPipeline() 166 VkRect2D rectScissor = { { 0, 0 }, { renderSize.x(), renderSize.y() } }; in makeGraphicsPipeline() 353 const UVec2& renderSize, in generateReferenceImage() argument 358 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 500 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument 504 const int rectWidth = renderSize.x() / numCols; in generateGrid() 505 const int rectHeight = renderSize.y() / numRows; in generateGrid() 563 …Vertices (const std::vector<UVec4>& grid, const std::vector<Vec4>& colors, const UVec2& renderSize) in generateVertices() argument 580 float x = cell.x() / float(renderSize.x()) - 1.0f; in generateVertices() [all …]
|
D | vktDrawShaderViewportIndexTests.cpp | 121 const UVec2 renderSize, in makeGraphicsPipeline() argument 181 const VkRect2D rect = makeRect2D(renderSize); in makeGraphicsPipeline() 368 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument 372 const int rectWidth = renderSize.x() / numCols; in generateGrid() 373 const int rectHeight = renderSize.y() / numRows; in generateGrid() 427 const UVec2& renderSize, in generateReferenceImage() argument 434 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 661 const UVec2& renderSize, in Renderer() argument 669 , m_renderSize (renderSize) in Renderer() 944 const UVec2 renderSize (128, 128); in testVertexFragmentShader() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/ |
D | vktDrawUtil.cpp | 108 : renderSize(renderWidth_, renderHeight_) in FrameBufferState() 110 DE_ASSERT(renderSize.x() != 0 && renderSize.y() != 0); in FrameBufferState() 147 …t(m_framebufferState.colorFormat), m_framebufferState.renderSize.x(), m_framebufferState.renderSiz… in draw() 212 …makeExtent3D(m_framebufferState.renderSize.x(), m_framebufferState.renderSize.y(), 1u), // VkExten… in VulkanDrawContext() 229 …_framebufferState.colorFormat)) * m_framebufferState.renderSize.x() * m_framebufferState.renderSiz… in VulkanDrawContext() 254 …makeExtent3D(m_framebufferState.renderSize.x(), m_framebufferState.renderSize.y(), 1u), // VkExten… in VulkanDrawContext() 370 m_framebufferState.renderSize.x(), // uint32_t width; in VulkanDrawContext() 371 m_framebufferState.renderSize.y(), // uint32_t height; in VulkanDrawContext() 419 const std::vector<VkViewport> viewports(1, makeViewport(m_framebufferState.renderSize)); in registerDrawObject() 420 const std::vector<VkRect2D> scissors(1, makeRect2D(m_framebufferState.renderSize)); in registerDrawObject() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.cpp | 108 : renderSize(renderWidth_, renderHeight_) in FrameBufferState() 110 DE_ASSERT(renderSize.x() != 0 && renderSize.y() != 0); in FrameBufferState() 147 …t(m_framebufferState.colorFormat), m_framebufferState.renderSize.x(), m_framebufferState.renderSiz… in draw() 212 …makeExtent3D(m_framebufferState.renderSize.x(), m_framebufferState.renderSize.y(), 1u), // VkExten… in VulkanDrawContext() 229 …_framebufferState.colorFormat)) * m_framebufferState.renderSize.x() * m_framebufferState.renderSiz… in VulkanDrawContext() 254 …makeExtent3D(m_framebufferState.renderSize.x(), m_framebufferState.renderSize.y(), 1u), // VkExten… in VulkanDrawContext() 370 m_framebufferState.renderSize.x(), // uint32_t width; in VulkanDrawContext() 371 m_framebufferState.renderSize.y(), // uint32_t height; in VulkanDrawContext() 419 const std::vector<VkViewport> viewports(1, makeViewport(m_framebufferState.renderSize)); in registerDrawObject() 420 const std::vector<VkRect2D> scissors(1, makeRect2D(m_framebufferState.renderSize)); in registerDrawObject() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryInstancedRenderingTests.cpp | 94 const VkExtent2D renderSize) in makeGraphicsPipeline() argument 96 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 97 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in makeGraphicsPipeline() 143 const UVec2& renderSize, in draw() argument 157 const VkExtent3D colorImageExtent (makeExtent3D(renderSize.x(), renderSize.y(), 1u)); in draw() 158 const VkExtent2D renderExtent (makeExtent2D(renderSize.x(), renderSize.y())); in draw() 173 … (makeFramebuffer (vk, device, *renderPass, *colorAttachment, renderSize.x(), renderSize.y())); in draw() 198 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.… in draw() 362 const UVec2 renderSize (128u, 128u); in test() local 366 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVk… in test() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
D | vktGeometryInstancedRenderingTests.cpp | 94 const VkExtent2D renderSize) in makeGraphicsPipeline() argument 96 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 97 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in makeGraphicsPipeline() 143 const UVec2& renderSize, in draw() argument 157 const VkExtent3D colorImageExtent (makeExtent3D(renderSize.x(), renderSize.y(), 1u)); in draw() 158 const VkExtent2D renderExtent (makeExtent2D(renderSize.x(), renderSize.y())); in draw() 173 … (makeFramebuffer (vk, device, *renderPass, *colorAttachment, renderSize.x(), renderSize.y())); in draw() 198 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.… in draw() 362 const UVec2 renderSize (128u, 128u); in test() local 366 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVk… in test() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktDynamicRenderingRandomTests.cpp | 59 UVec2 renderSize; member 144 m_layerSizeBytes = m_parameters.renderSize.x() * in DynamicRenderingTestInstance() 145 m_parameters.renderSize.y() * in DynamicRenderingTestInstance() 156 makeExtent3D(m_parameters.renderSize.x(), in DynamicRenderingTestInstance() 157 m_parameters.renderSize.y(), 1), // VkExtent3D extent in DynamicRenderingTestInstance() 213 const std::vector<vk::VkViewport> viewports (1u, vk::makeViewport(m_parameters.renderSize)); in DynamicRenderingTestInstance() 214 const std::vector<vk::VkRect2D> scissors (1u, vk::makeRect2D(m_parameters.renderSize)); in DynamicRenderingTestInstance() 387 …back(mapVkFormat(m_parameters.imageFormat), m_parameters.renderSize.x(), m_parameters.renderSize.y… in iterate() 391 for (deUint32 y = 0; y < m_parameters.renderSize.x(); y++) in iterate() 392 for (deUint32 x = 0; x < m_parameters.renderSize.x(); x++) in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktDynamicRenderingRandomTests.cpp | 59 UVec2 renderSize; member 144 m_layerSizeBytes = m_parameters.renderSize.x() * in DynamicRenderingTestInstance() 145 m_parameters.renderSize.y() * in DynamicRenderingTestInstance() 156 makeExtent3D(m_parameters.renderSize.x(), in DynamicRenderingTestInstance() 157 m_parameters.renderSize.y(), 1), // VkExtent3D extent in DynamicRenderingTestInstance() 213 const std::vector<vk::VkViewport> viewports (1u, vk::makeViewport(m_parameters.renderSize)); in DynamicRenderingTestInstance() 214 const std::vector<vk::VkRect2D> scissors (1u, vk::makeRect2D(m_parameters.renderSize)); in DynamicRenderingTestInstance() 387 …back(mapVkFormat(m_parameters.imageFormat), m_parameters.renderSize.x(), m_parameters.renderSize.y… in iterate() 391 for (deUint32 y = 0; y < m_parameters.renderSize.x(); y++) in iterate() 392 for (deUint32 x = 0; x < m_parameters.renderSize.x(); x++) in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
D | vktRobustnessIndexAccessTests.cpp | 114 const tcu::UVec2 renderSize { 16 }; in iterate() local 115 const std::vector<VkViewport> viewports { makeViewport(renderSize) }; in iterate() 116 const std::vector<VkRect2D> scissors { makeRect2D(renderSize) }; in iterate() 170 …const VkDeviceSize outputBufferSize = renderSize.x()* renderSize.y()* tcu::getPixelSize(mapVkForma… in iterate() 175 VkExtent3D imageExtent = makeExtent3D(renderSize.x(), renderSize.y(), 1u); in iterate() 203 …r = makeFramebuffer(vk, *m_device, *renderPass, *colorImageView, renderSize.x(), renderSize.y()); in iterate() 219 const VkRect2D renderArea = makeRect2D(0, 0, renderSize.x(), renderSize.y()); in iterate() 273 …tcu::ConstPixelBufferAccess outputAccess(resultFormat, renderSize.x(), renderSize.y(), 1u, outputB… in iterate() 280 for (deUint32 x = 0u; x < renderSize.x(); ++x) in iterate() 281 for (deUint32 y = 0u; y < renderSize.y(); ++y) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessIndexAccessTests.cpp | 114 const tcu::UVec2 renderSize { 16 }; in iterate() local 115 const std::vector<VkViewport> viewports { makeViewport(renderSize) }; in iterate() 116 const std::vector<VkRect2D> scissors { makeRect2D(renderSize) }; in iterate() 170 …const VkDeviceSize outputBufferSize = renderSize.x()* renderSize.y()* tcu::getPixelSize(mapVkForma… in iterate() 175 VkExtent3D imageExtent = makeExtent3D(renderSize.x(), renderSize.y(), 1u); in iterate() 203 …r = makeFramebuffer(vk, *m_device, *renderPass, *colorImageView, renderSize.x(), renderSize.y()); in iterate() 219 const VkRect2D renderArea = makeRect2D(0, 0, renderSize.x(), renderSize.y()); in iterate() 273 …tcu::ConstPixelBufferAccess outputAccess(resultFormat, renderSize.x(), renderSize.y(), 1u, outputB… in iterate() 280 for (deUint32 x = 0u; x < renderSize.x(); ++x) in iterate() 281 for (deUint32 y = 0u; y < renderSize.y(); ++y) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrFilteringTests.cpp | 84 const tcu::UVec2 renderSize; member 291 const tcu::UVec2 renderSize (m_cases[m_caseIndex].renderSize); in iterate() local 362 FrameBufferState frameBufferState (renderSize.x(), renderSize.y()); in iterate() 388 for (deUint32 y = 0; y < renderSize.y(); y++) in iterate() 389 for (deUint32 x = 0; x < renderSize.x(); x++) in iterate() 391 const float s = ((float)x + 0.5f) / (float)renderSize.x(); in iterate() 392 const float t = ((float)y + 0.5f) / (float)renderSize.y(); in iterate() 415 vector<deUint8> minData (renderSize.x() * renderSize.y() * sizeof(tcu::Vec4), 255); in iterate() 416 vector<deUint8> maxData (renderSize.x() * renderSize.y() * sizeof(tcu::Vec4), 255); in iterate() 418 …tcu::PixelBufferAccess minImage (refFormat, renderSize.x(), renderSize.y(), 1, minData.data()… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
D | vktYCbCrFilteringTests.cpp | 84 const tcu::UVec2 renderSize; member 291 const tcu::UVec2 renderSize (m_cases[m_caseIndex].renderSize); in iterate() local 362 FrameBufferState frameBufferState (renderSize.x(), renderSize.y()); in iterate() 388 for (deUint32 y = 0; y < renderSize.y(); y++) in iterate() 389 for (deUint32 x = 0; x < renderSize.x(); x++) in iterate() 391 const float s = ((float)x + 0.5f) / (float)renderSize.x(); in iterate() 392 const float t = ((float)y + 0.5f) / (float)renderSize.y(); in iterate() 415 vector<deUint8> minData (renderSize.x() * renderSize.y() * sizeof(tcu::Vec4), 255); in iterate() 416 vector<deUint8> maxData (renderSize.x() * renderSize.y() * sizeof(tcu::Vec4), 255); in iterate() 418 …tcu::PixelBufferAccess minImage (refFormat, renderSize.x(), renderSize.y(), 1, minData.data()… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 398 const tcu::UVec2 renderSize (256, 256); in iterate() local 828 { renderSize.x(), renderSize.y(), 1 }, // extent in iterate() 1062 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in iterate() 1063 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in iterate() 1136 renderSize.x(), // width in iterate() 1137 renderSize.y(), // height in iterate() 1224 sfrRects[0].extent.width = (deInt32)renderSize.x(); in iterate() 1225 sfrRects[0].extent.height = (deInt32)renderSize.y(); in iterate() 1230 …[firstDeviceID * m_physicalDeviceCount + firstDeviceID].extent.width = (deInt32)renderSize.x() / 2; in iterate() 1231 …cts[firstDeviceID * m_physicalDeviceCount + firstDeviceID].extent.height = (deInt32)renderSize.y(); in iterate() [all …]
|