/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryInstancedRenderingTests.cpp | 94 const VkExtent2D renderSize) 96 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); 97 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); 143 const UVec2& renderSize, 157 const VkExtent3D colorImageExtent (makeExtent3D(renderSize.x(), renderSize.y(), 1u)); 158 const VkExtent2D renderExtent (makeExtent2D(renderSize.x(), renderSize.y())); 173 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachment, renderSize.x(), renderSize.y(), 1u)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/util/ |
vktDrawUtil.cpp | 224 , renderSize (tcu::UVec2(renderWidth_, renderHeight_)) 236 DE_ASSERT(renderSize.x() != 0 && renderSize.y() != 0); 245 m_refImage.setStorage(vk::mapVkFormat(m_drawState.colorFormat), m_drawState.renderSize.x(), m_drawState.renderSize.y()); 310 makeExtent3D(m_drawState.renderSize.x(), m_drawState.renderSize.y(), 1u), // VkExtent3D extent; 327 const VkDeviceSize bitmapSize = tcu::getPixelSize(mapVkFormat(m_drawState.colorFormat)) * m_drawState.renderSize.x() * m_drawState.renderSize.y(); 454 m_drawState.renderSize.x(), // uint32_t width [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineStencilExportTests.cpp | 274 const UVec2 renderSize, 297 const VkViewport viewport = makeViewport(renderSize); 298 const VkRect2D scissor = makeRect2D(renderSize); 462 const UVec2& renderSize, 467 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); 470 deUint32 rows = renderSize.y() / patternSize; 471 deUint32 cols = renderSize.x() / patternSize; 496 const UVec2 renderSize (128, 128); 499 const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)) [all...] |
vktPipelineMultisampleImageTests.cpp | 67 IVec2 renderSize; 93 const IVec2 renderSize, 140 const VkViewport viewport = makeViewport(renderSize); 141 const VkRect2D scissor = makeRect2D(renderSize); [all...] |
vktPipelineFramebufferAttachmentTests.cpp | 77 IVec3 renderSize; 195 const IVec3 renderSize, 201 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); 202 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); 355 const int renderDepth = deMax32(caseDef.renderSize.z(), caseDef.numLayers); 363 if (x < caseDef.renderSize.x() && y < caseDef.renderSize.y() && z < renderDepth) 462 // create attachmentHandles and pipelines (one for each layer). We use the renderSize for viewport and scissor 470 caseDef.renderSize, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, layerNdx, 1u, caseDef.multisample))); 475 static_cast<deUint32>(caseDef.renderSize.x()), static_cast<deUint32>(caseDef.renderSize.y())) [all...] |
vktPipelineImageSamplingInstance.hpp | 52 const tcu::UVec2& renderSize,
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawShaderLayerTests.cpp | 288 const UVec2 renderSize) 336 VkViewport viewport = makeViewport(0.0f, 0.0f, static_cast<float>(renderSize.x()), static_cast<float>(renderSize.y()), 0.0f, 1.0f); 337 VkRect2D rectScissor = { { 0, 0 }, { renderSize.x(), renderSize.y() } }; 506 const UVec2& renderSize, 511 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); 653 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) 657 const int rectWidth = renderSize.x() / numCols [all...] |
vktDrawShaderViewportIndexTests.cpp | 200 const UVec2 renderSize, 260 const VkRect2D rect = makeRect2D(renderSize); 429 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) 433 const int rectWidth = renderSize.x() / numCols; 434 const int rectHeight = renderSize.y() / numRows; 488 const UVec2& renderSize, 495 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); 682 const UVec2& renderSize, 689 : m_renderSize (renderSize) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsEarlyFragmentTests.cpp | 121 const tcu::IVec2& renderSize, 125 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); 126 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); 340 const tcu::IVec2 renderSize = tcu::IVec2(32, 32); 343 const Unique<VkImage> colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT))); 366 const Unique<VkImage> testImage (makeImage(vk, device, makeImageCreateInfo(renderSize, testFormat, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT))); 409 const VkDeviceSize colorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderSize.x() * renderSize.y(); 435 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, numUsedAttachmentImages, attachmentImages, renderSize)); 437 const Unique<VkPipeline> pipeline (makeGraphicsPipeline(vk, device, *pipelineLayout, *renderPass, *vertexModule, *fragmentModule, renderSize, [all...] |
vktFragmentOperationsScissorMultiViewportTests.cpp | 103 const IVec2 renderSize, 107 const VkViewport defaultViewport = makeViewport(renderSize); 160 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) 166 const int rectWidth = renderSize.x() / numCols; 167 const int rectHeight = renderSize.y() / numRows; 221 const IVec2& renderSize, 228 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); 325 const IVec2& renderSize, 331 : m_renderSize (renderSize) [all...] |
vktFragmentOperationsScissorTests.cpp | 121 const IVec2 renderSize, 165 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); 349 ScissorRenderer (Context& context, const CaseDef caseDef, const IVec2& renderSize, const VkFormat colorFormat, const Vec4& primitiveColor, const Vec4& clearColor) 350 : m_renderSize (renderSize) 450 const IVec2 renderSize (128, 128); 456 const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 468 const ScissorRenderer renderer (context, caseDef, renderSize, colorFormat, primitiveColor, clearColor); 479 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferScissoredAlloc->getHostPtr()) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiSmokeTests.cpp | 339 const tcu::IVec2 renderSize (256, 256); 366 const VkDeviceSize imageSizeBytes = (VkDeviceSize)(sizeof(deUint32)*renderSize.x()*renderSize.y()); 390 { (deUint32)renderSize.x(), (deUint32)renderSize.y(), 1 }, // extent 451 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); 452 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); 475 (deUint32)renderSize.x(), // width 476 (deUint32)renderSize.y(), // height 535 beginRenderPass(vk, *cmdBuf, *renderPass, *framebuffer, makeRect2D(0, 0, renderSize.x(), renderSize.y()), clearColor) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPointSizeTests.cpp | 318 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); 322 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 327 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 334 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 343 .setRenderSize (renderSize) 375 const VkRect2D renderArea = makeRect2D(renderSize); 387 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); 396 tcu::ConstPixelBufferAccess image(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()) [all...] |
vktTessellationWindingTests.cpp | 421 const tcu::IVec2 renderSize = tcu::IVec2(64, 64); 425 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 430 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 437 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 510 const VkRect2D renderArea = makeRect2D(renderSize); 519 m_yFlip ? static_cast<float>(renderSize.y()) : 0.0f, // float y; 520 static_cast<float>(renderSize.x()), // float width; 521 static_cast<float>(m_yFlip ? -renderSize.y() : renderSize.y()), // float height [all...] |
vktTessellationGeometryPassthroughTests.cpp | 356 const tcu::IVec2& renderSize) 360 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()); 474 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); 478 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 484 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 493 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 514 .setRenderSize (renderSize) [all...] |
vktTessellationGeometryGridRenderTests.cpp | 543 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); 546 const VkImageCreateInfo colorImageCreateInfo = makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_params.numLayers); 552 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * m_params.numLayers * tcu::getPixelSize(mapVkFormat(colorFormat)); 559 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_params.numLayers)); 565 .setRenderSize (renderSize) 588 const VkRect2D renderArea = makeRect2D(renderSize); 600 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_params.numLayers); 610 const tcu::ConstPixelBufferAccess imageAllLayers(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_params.numLayers, alloc.getHostPtr()) [all...] |
vktTessellationCommonEdgeTests.cpp | 353 const tcu::IVec2 renderSize = tcu::IVec2(256, 256); 357 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 362 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 369 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 376 .setRenderSize (renderSize) 405 const VkRect2D renderArea = makeRect2D(renderSize); 424 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); 434 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()) [all...] |
vktTessellationMiscDrawTests.cpp | 164 const tcu::IVec2 renderSize = tcu::IVec2(256, 256); 168 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 173 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 203 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 209 .setRenderSize (renderSize) 257 const VkRect2D renderArea = makeRect2D(renderSize); 275 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); 285 const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()) [all...] |
vktTessellationPrimitiveDiscardTests.cpp | 435 const tcu::IVec2 renderSize = tcu::IVec2(256, 256); 439 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 444 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 469 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 476 .setRenderSize (renderSize) 508 const VkRect2D renderArea = makeRect2D(renderSize); 525 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); 542 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()) [all...] |
vktTessellationShaderInputOutputTests.cpp | 98 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); 102 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u), 107 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); 114 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 120 .setRenderSize (renderSize) 153 const VkRect2D renderArea = makeRect2D(renderSize); 170 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); 180 const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr()) [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcShaderGroupVoteTests.cpp | 98 const WorkGroupSize renderSize(context); 108 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, renderSize.width, renderSize.height); 178 gl.viewport(0, 0, renderSize.width, renderSize.height); 203 const WorkGroupSize renderSize(context); 204 std::size_t totalSize = renderSize.width * renderSize.height * 4; 208 gl.readPixels(0, 0, renderSize.width, renderSize.height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
vktDeviceGroupRendering.cpp | 367 const tcu::UVec2 renderSize (256, 256); 796 { renderSize.x(), renderSize.y(), 1 }, // extent [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiColorSpaceTests.cpp | 405 const UVec2& renderSize); 425 const UVec2& renderSize); 435 const UVec2& renderSize); 559 const UVec2& renderSize) 565 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); 566 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); 611 const UVec2& renderSize) 621 renderSize.x(), 622 renderSize.y(), 655 const UVec2& renderSize) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fMultisampleShaderRenderCase.hpp | 74 MultisampleRenderCase (Context& context, const char* name, const char* desc, int numSamples, RenderTarget target, int renderSize, int flags = 0);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderExecutor.cpp | 654 static std::vector<tcu::Vec2> computeVertexPositions (int numValues, const tcu::IVec2& renderSize) 659 const int ix = valNdx % renderSize.x(); 660 const int iy = valNdx / renderSize.x(); 661 const float fx = -1.0f + 2.0f*((float(ix) + 0.5f) / float(renderSize.x())); 662 const float fy = -1.0f + 2.0f*((float(iy) + 0.5f) / float(renderSize.y())); [all...] |