/external/deqp/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() 565 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, read… in renderTriangleTest() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineStencilExportTests.cpp | 274 const UVec2 renderSize, in makeGraphicsPipeline() argument 297 const VkViewport viewport = makeViewport(renderSize); in makeGraphicsPipeline() 298 const VkRect2D scissor = makeRect2D(renderSize); in makeGraphicsPipeline() 462 const UVec2& renderSize, in generateReferenceImage() argument 467 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 470 deUint32 rows = renderSize.y() / patternSize; in generateReferenceImage() 471 deUint32 cols = renderSize.x() / patternSize; in generateReferenceImage() 496 const UVec2 renderSize (128, 128); in testStencilExportReplace() local 499 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVk… in testStencilExportReplace() 516 …mage = makeImage (vk, device, makeImageCreateInfo(stencilFormat, renderSize, VK_IMAGE_USAGE_… in testStencilExportReplace() [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 67 IVec2 renderSize; member 93 const IVec2 renderSize, in makeGraphicsPipelines() argument 140 const VkViewport viewport = makeViewport(renderSize); in makeGraphicsPipelines() 141 const VkRect2D scissor = makeRect2D(renderSize); in makeGraphicsPipelines() 798 … static_cast<deUint32>(caseDef.renderSize.x()), static_cast<deUint32>(caseDef.renderSize.y()))); in renderMultisampledImage() 801 caseDef.renderSize, caseDef.numSamples, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST)); in renderMultisampledImage() 807 …uffer, *renderPass, *framebuffer, makeRect2D(0, 0, caseDef.renderSize.x(), caseDef.renderSize.y())… in renderMultisampledImage() 927 …const Unique<VkImage> colorImage (makeImage(vk, device, caseDef.colorFormat, caseDef.renderSize… in test() 947 …const Unique<VkImage> checksumImage (makeImage(vk, device, checksumFormat, caseDef.renderSize, … in test() 953 …const VkDeviceSize checksumBufferSize = caseDef.renderSize.x() * caseDef.renderSize.y() * tcu::… in test() [all …]
|
D | vktPipelineFramebufferAttachmentTests.cpp | 77 IVec3 renderSize; member 195 const IVec3 renderSize, in makeGraphicsPipeline() argument 201 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 202 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in makeGraphicsPipeline() 355 const int renderDepth = deMax32(caseDef.renderSize.z(), caseDef.numLayers); in getExpectedData() 363 if (x < caseDef.renderSize.x() && y < caseDef.renderSize.y() && z < renderDepth) in getExpectedData() 470 caseDef.renderSize, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, layerNdx, 1u, caseDef.multisample))); in test() 475 static_cast<deUint32>(caseDef.renderSize.x()), static_cast<deUint32>(caseDef.renderSize.y())); in test() 532 …uffer, *renderPass, *framebuffer, makeRect2D(0, 0, caseDef.renderSize.x(), caseDef.renderSize.y())… in test() 793 const IVec3 renderSize (32, 32, 1); in testNoAtt() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderLayerTests.cpp | 288 const UVec2 renderSize) in makeGraphicsPipeline() argument 336 …ewport = makeViewport(0.0f, 0.0f, static_cast<float>(renderSize.x()), static_cast<float>(renderSiz… in makeGraphicsPipeline() 337 VkRect2D rectScissor = { { 0, 0 }, { renderSize.x(), renderSize.y() } }; in makeGraphicsPipeline() 506 const UVec2& renderSize, in generateReferenceImage() argument 511 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 653 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument 657 const int rectWidth = renderSize.x() / numCols; in generateGrid() 658 const int rectHeight = renderSize.y() / numRows; in generateGrid() 716 …Vertices (const std::vector<UVec4>& grid, const std::vector<Vec4>& colors, const UVec2& renderSize) in generateVertices() argument 733 float x = cell.x() / float(renderSize.x()) - 1.0f; in generateVertices() [all …]
|
D | vktDrawShaderViewportIndexTests.cpp | 200 const UVec2 renderSize, in makeGraphicsPipeline() argument 260 const VkRect2D rect = makeRect2D(renderSize); in makeGraphicsPipeline() 429 std::vector<UVec4> generateGrid (const int numCells, const UVec2& renderSize) in generateGrid() argument 433 const int rectWidth = renderSize.x() / numCols; in generateGrid() 434 const int rectHeight = renderSize.y() / numRows; in generateGrid() 488 const UVec2& renderSize, in generateReferenceImage() argument 495 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 682 const UVec2& renderSize, in Renderer() argument 689 : m_renderSize (renderSize) in Renderer() 809 const UVec2 renderSize (128, 128); in testVertexShader() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.cpp | 224 , renderSize (tcu::UVec2(renderWidth_, renderHeight_)) in DrawState() 236 DE_ASSERT(renderSize.x() != 0 && renderSize.y() != 0); in DrawState() 245 …ge(vk::mapVkFormat(m_drawState.colorFormat), m_drawState.renderSize.x(), m_drawState.renderSize.y(… in draw() 310 … makeExtent3D(m_drawState.renderSize.x(), m_drawState.renderSize.y(), 1u), // VkExtent3D extent; in VulkanDrawContext() 327 …Size(mapVkFormat(m_drawState.colorFormat)) * m_drawState.renderSize.x() * m_drawState.renderSize.y… in VulkanDrawContext() 454 m_drawState.renderSize.x(), // uint32_t width; in VulkanDrawContext() 455 m_drawState.renderSize.y(), // uint32_t height; in VulkanDrawContext() 472 const std::vector<VkViewport> viewports (1, makeViewport(m_drawState.renderSize)); in VulkanDrawContext() 473 const std::vector<VkRect2D> scissors (1, makeRect2D(m_drawState.renderSize)); in VulkanDrawContext() 623 …renderPass, *m_framebuffer, makeRect2D(0, 0, m_drawState.renderSize.x(), m_drawState.renderSize.y(… in VulkanDrawContext() [all …]
|
/external/deqp/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(), 1u)… in draw() 198 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.… in draw() 366 const UVec2 renderSize (128u, 128u); in test() local 370 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVk… in test() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 121 const tcu::IVec2& renderSize, in makeGraphicsPipeline() argument 125 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 126 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in makeGraphicsPipeline() 340 const tcu::IVec2 renderSize = tcu::IVec2(32, 32); in iterate() local 343 …const Unique<VkImage> colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorF… in iterate() 366 …const Unique<VkImage> testImage (makeImage(vk, device, makeImageCreateInfo(renderSize, testFo… in iterate() 409 …lorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderSize.x() * renderSize.y(); in iterate() 435 … (makeFramebuffer(vk, device, *renderPass, numUsedAttachmentImages, attachmentImages, renderSize)); in iterate() 437 …phicsPipeline(vk, device, *pipelineLayout, *renderPass, *vertexModule, *fragmentModule, renderSize, in iterate() 447 makeExtent2D(renderSize.x(), renderSize.y()), in iterate() [all …]
|
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 103 const IVec2 renderSize, in makeGraphicsPipeline() argument 107 const VkViewport defaultViewport = makeViewport(renderSize); in makeGraphicsPipeline() 160 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors() argument 166 const int rectWidth = renderSize.x() / numCols; in generateScissors() 167 const int rectHeight = renderSize.y() / numRows; in generateScissors() 221 const IVec2& renderSize, in generateReferenceImage() argument 228 tcu::TextureLevel image(format, renderSize.x(), renderSize.y()); in generateReferenceImage() 325 const IVec2& renderSize, in ScissorRenderer() argument 331 : m_renderSize (renderSize) in ScissorRenderer() 428 const IVec2 renderSize (128, 128); in test() local [all …]
|
D | vktFragmentOperationsScissorTests.cpp | 121 const IVec2 renderSize, in makeGraphicsPipeline() argument 165 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline() 349 …ScissorRenderer (Context& context, const CaseDef caseDef, const IVec2& renderSize, const VkFormat … in ScissorRenderer() argument 350 : m_renderSize (renderSize) in ScissorRenderer() 450 const IVec2 renderSize (128, 128); in test() local 456 …const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(map… in test() 468 …const ScissorRenderer renderer (context, caseDef, renderSize, colorFormat, primitiveColor, clearCo… in test() 479 …ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u,… in test() 480 …tcu::PixelBufferAccess referenceImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y()… in test()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 367 const tcu::UVec2 renderSize (256, 256); in iterate() local 796 { renderSize.x(), renderSize.y(), 1 }, // extent in iterate() 974 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in iterate() 975 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in iterate() 1048 renderSize.x(), // width in iterate() 1049 renderSize.y(), // height in iterate() 1135 sfrRects[0].extent.width = (deInt32)renderSize.x(); in iterate() 1136 sfrRects[0].extent.height = (deInt32)renderSize.y(); in iterate() 1141 …[firstDeviceID * m_physicalDeviceCount + firstDeviceID].extent.width = (deInt32)renderSize.x() / 2; in iterate() 1142 …cts[firstDeviceID * m_physicalDeviceCount + firstDeviceID].extent.height = (deInt32)renderSize.y(); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationWindingTests.cpp | 421 const tcu::IVec2 renderSize = tcu::IVec2(64, 64); in iterate() local 425 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in iterate() 430 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in iterate() 437 … (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in iterate() 510 const VkRect2D renderArea = makeRect2D(renderSize); in iterate() 519 m_yFlip ? static_cast<float>(renderSize.y()) : 0.0f, // float y; in iterate() 520 static_cast<float>(renderSize.x()), // float width; in iterate() 521 static_cast<float>(m_yFlip ? -renderSize.y() : renderSize.y()), // float height; in iterate() 527 const VkRect2D scissor = makeRect2D(renderSize); in iterate() 537 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in iterate() [all …]
|
D | vktTessellationGeometryGridRenderTests.cpp | 543 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); in iterate() local 546 …const VkImageCreateInfo colorImageCreateInfo = makeImageCreateInfo(renderSize, colorFormat, … in iterate() 552 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * m_params.numLayers * tcu… in iterate() 559 …amebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_p… in iterate() 565 .setRenderSize (renderSize) in iterate() 588 const VkRect2D renderArea = makeRect2D(renderSize); in iterate() 600 …copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize, VK_ACCESS_COLOR… in iterate() 610 …onstPixelBufferAccess imageAllLayers(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_p… in iterate() 615 tcu::getSubregion(imageAllLayers, 0, 0, ndx, renderSize.x(), renderSize.y(), 1), in iterate()
|
D | vktTessellationGeometryPointSizeTests.cpp | 318 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); in test() local 322 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in test() 327 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in test() 334 …amebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in test() 343 .setRenderSize (renderSize) in test() 375 const VkRect2D renderArea = makeRect2D(renderSize); in test() 387 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in test() 396 …tcu::ConstPixelBufferAccess image(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, all… in test()
|
D | vktTessellationGeometryPassthroughTests.cpp | 356 const tcu::IVec2& renderSize) in getPixelBufferAccess() argument 360 …return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, al… in getPixelBufferAccess() 474 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); in iterate() local 478 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in iterate() 484 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVk… in iterate() 493 …makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in iterate() 514 .setRenderSize (renderSize) in iterate() 553 const VkRect2D renderArea = makeRect2D(renderSize); in iterate() 572 …yImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, colorBuffer[pipelineNdx]->get(), renderSize); in iterate() 580 …= getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, colorBufferSizeBytes, renderSize); in iterate() [all …]
|
D | vktTessellationCommonEdgeTests.cpp | 353 const tcu::IVec2 renderSize = tcu::IVec2(256, 256); in test() local 357 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in test() 362 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in test() 369 …amebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in test() 376 .setRenderSize (renderSize) in test() 405 const VkRect2D renderArea = makeRect2D(renderSize); in test() 424 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in test() 434 …stPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, … in test()
|
D | vktTessellationMiscDrawTests.cpp | 164 const tcu::IVec2 renderSize = tcu::IVec2(256, 256); in runTest() local 168 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in runTest() 173 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in runTest() 203 …makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in runTest() 209 .setRenderSize (renderSize) in runTest() 257 const VkRect2D renderArea = makeRect2D(renderSize); in runTest() 275 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in runTest() 285 …tPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, … in runTest()
|
D | vktTessellationPrimitiveDiscardTests.cpp | 435 const tcu::IVec2 renderSize = tcu::IVec2(256, 256); in test() local 439 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in test() 444 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in test() 469 …makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in test() 476 .setRenderSize (renderSize) in test() 508 const VkRect2D renderArea = makeRect2D(renderSize); in test() 525 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in test() 542 …stPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, … in test()
|
D | vktTessellationShaderInputOutputTests.cpp | 98 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); in runTest() local 102 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in runTest() 107 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in runTest() 114 …amebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in runTest() 120 .setRenderSize (renderSize) in runTest() 153 const VkRect2D renderArea = makeRect2D(renderSize); in runTest() 170 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in runTest() 180 …tPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, … in runTest()
|
D | vktTessellationUserDefinedIO.cpp | 800 const tcu::IVec2 renderSize = tcu::IVec2(RENDER_SIZE, RENDER_SIZE); in iterate() local 804 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in iterate() 809 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkF… in iterate() 833 …makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)… in iterate() 839 .setRenderSize (renderSize) in iterate() 864 const VkRect2D renderArea = makeRect2D(renderSize); in iterate() 881 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in iterate() 898 …tPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, … in iterate()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderGroupVoteTests.cpp | 98 const WorkGroupSize renderSize(context); in execute() local 108 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, renderSize.width, renderSize.height); in execute() 178 gl.viewport(0, 0, renderSize.width, renderSize.height); in execute() 203 const WorkGroupSize renderSize(context); in validateScreenPixels() local 204 std::size_t totalSize = renderSize.width * renderSize.height * 4; in validateScreenPixels() 208 gl.readPixels(0, 0, renderSize.width, renderSize.height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in validateScreenPixels()
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiColorSpaceTests.cpp | 405 const UVec2& renderSize); 425 const UVec2& renderSize); 435 const UVec2& renderSize); 559 const UVec2& renderSize) in createPipeline() argument 565 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in createPipeline() 566 const std::vector<VkRect2D> scissors (1, makeRect2D(renderSize)); in createPipeline() 611 const UVec2& renderSize) in createFramebuffer() argument 621 renderSize.x(), in createFramebuffer() 622 renderSize.y(), in createFramebuffer() 655 const UVec2& renderSize) in TriangleRenderer() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 654 static std::vector<tcu::Vec2> computeVertexPositions (int numValues, const tcu::IVec2& renderSize) in computeVertexPositions() argument 659 const int ix = valNdx % renderSize.x(); in computeVertexPositions() 660 const int iy = valNdx / renderSize.x(); in computeVertexPositions() 661 const float fx = -1.0f + 2.0f*((float(ix) + 0.5f) / float(renderSize.x())); in computeVertexPositions() 662 const float fy = -1.0f + 2.0f*((float(iy) + 0.5f) / float(renderSize.y())); in computeVertexPositions() 896 const tcu::UVec2 renderSize (renderSizeX, renderSizeY); in execute() local 931 positions = computeVertexPositions(numValues, renderSize.cast<int>()); in execute() 975 { renderSize.x(), renderSize.y(), 1u }, // VkExtent3D extent; in execute() 1145 (deUint32)renderSize.x(), // deUint32 width; in execute() 1146 (deUint32)renderSize.y(), // deUint32 height; in execute() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrImageQueryTests.cpp | 580 static DrawState getDrawState (UVec2 renderSize) in testImageQueryLod() 582 DrawState state(VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, renderSize.x(), renderSize.y()); in testImageQueryLod() 616 const UVec2 renderSize (128, 256); in testImageQueryLod() local 618 const DrawState drawState (LocalUtil::getDrawState(renderSize)); in testImageQueryLod() 625 << TestLog::Message << "Rendering " << renderSize << " quad" << TestLog::EndMessage; in testImageQueryLod() 639 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); in testImageQueryLod()
|