Home
last modified time | relevance | path

Searched refs:makeViewport (Results 1 – 25 of 149) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp153 inline VkViewport makeViewport(const tcu::IVec2& vec) in makeViewport() function
155 return makeViewport(0.0f, 0.0f, (float)vec.x(), (float)vec.y(), 0.0f, 1.0f); in makeViewport()
158 inline VkViewport makeViewport(const tcu::IVec3& vec) in makeViewport() function
160 return makeViewport(0.0f, 0.0f, (float)vec.x(), (float)vec.y(), 0.0f, 1.0f); in makeViewport()
163 inline VkViewport makeViewport(const tcu::UVec2& vec) in makeViewport() function
165 return makeViewport(0.0f, 0.0f, (float)vec.x(), (float)vec.y(), 0.0f, 1.0f); in makeViewport()
168 inline VkViewport makeViewport(const VkExtent3D& extent) in makeViewport() function
170 return makeViewport(0.0f, 0.0f, (float)extent.width, (float)extent.height, 0.0f, 1.0f); in makeViewport()
173 inline VkViewport makeViewport(const VkExtent2D& extent) in makeViewport() function
175 return makeViewport(0.0f, 0.0f, (float)extent.width, (float)extent.height, 0.0f, 1.0f); in makeViewport()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp881 , viewportConfig (ViewportVec(1u, vk::makeViewport(kFramebufferWidth, kFramebufferHeight))) in TestConfig()
2757 …config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(kHalfWidthU, kFramebufferHeig… in createExtendedDynamicStateTests()
2759 vk::makeViewport(0.0f, 0.0f, kHalfWidthF, kHeightF, 0.0f, 1.0f), in createExtendedDynamicStateTests()
2760 vk::makeViewport(kHalfWidthF, 0.0f, kHalfWidthF, kHeightF, 0.0f, 1.0f), in createExtendedDynamicStateTests()
2767 …config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(kHalfWidthU, kFramebufferHeig… in createExtendedDynamicStateTests()
2768 …config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(kFramebufferWidth, kFramebuff… in createExtendedDynamicStateTests()
2776 vk::makeViewport(kHalfWidthF, 0.0f, kHalfWidthF, kHeightF, 0.0f, 1.0f), // Right. in createExtendedDynamicStateTests()
2777 vk::makeViewport(0.0f, 0.0f, kHalfWidthF, kHeightF, 0.0f, 1.0f), // Left. in createExtendedDynamicStateTests()
2787 vk::makeViewport(0.0f, 0.0f, kHalfWidthF, kHeightF, 0.0f, 1.0f), // Left. in createExtendedDynamicStateTests()
2788 vk::makeViewport(kHalfWidthF, 0.0f, kHalfWidthF, kHeightF, 0.0f, 1.0f), // Right. in createExtendedDynamicStateTests()
[all …]
DvktPipelineSpecConstantUtil.cpp144 const VkViewport viewport = makeViewport(m_renderSize); in build()
DvktPipelineMultisampleBaseResolve.cpp261 const std::vector<VkViewport> viewports (1, makeViewport(imageMSInfo.extent)); in iterate()
DvktPipelineStencilExportTests.cpp286 const VkViewport viewport = makeViewport(renderSize); in makeGraphicsPipeline()
DvktPipelineLogicOpTests.cpp331 const std::vector<VkViewport> viewports (1, makeViewport(m_renderSize)); in LogicOpTestInstance()
DvktPipelineMultisampleSampleLocationsExtTests.cpp1592 const VkViewport viewport = makeViewport(m_renderSize); in drawSinglePass()
2256 const VkViewport viewport = makeViewport(m_renderSize); in drawPatternChangeReference()
2368 const VkViewport viewport = makeViewport(m_renderSize); in drawRenderPasses()
2771 const VkViewport viewport = makeViewport(m_renderSize); in drawSubpasses()
2940 const VkViewport viewport = makeViewport(m_renderSize); in drawSameSubpass()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderBuiltinTests.cpp215 viewports.push_back(makeViewport(extent)); in iterate()
896 viewports.emplace_back(makeViewport(0.0f, 0.0f, halfWidth, halfHeight, 0.0f, 1.0f)); in createInstance()
897 viewports.emplace_back(makeViewport(halfWidth, 0.0f, halfWidth, halfHeight, 0.0f, 1.0f)); in createInstance()
898 viewports.emplace_back(makeViewport(0.0f, halfHeight, halfWidth, halfHeight, 0.0f, 1.0f)); in createInstance()
899 viewports.emplace_back(makeViewport(halfWidth, halfHeight, halfWidth, halfHeight, 0.0f, 1.0f)); in createInstance()
DvktMeshShaderMiscTests.cpp315 const std::vector<VkViewport> viewports (1u, makeViewport(imageExtent)); in iterate()
2231 const auto topHalf = makeViewport(imageExtent.width, imageExtent.height / 2u); in iterate()
2232 const std::vector<VkViewport> viewports { makeViewport(imageExtent), topHalf }; in iterate()
2491 const std::vector<VkViewport> viewports (1u, makeViewport(imageExtent)); in iterate()
DvktMeshShaderSmokeTests.cpp497 std::vector<VkViewport> viewports (1u, makeViewport(colorBufferExtent)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawBaseClass.cpp157 vk::VkViewport viewport = vk::makeViewport(WIDTH, HEIGHT); in initPipeline()
DvktDrawDifferingInterpolationTests.cpp267 VkViewport viewport = makeViewport(WIDTH, HEIGHT); in iterate()
DvktDrawExplicitVertexParameterTests.cpp486 VkViewport viewport = makeViewport(WIDTH, HEIGHT); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp451 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleTest()
788 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleDummyExtStructTest()
1356 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in renderTriangleUnusedResolveAttachmentTest()
DvktApiGetMemoryCommitment.cpp253 const std::vector<VkViewport> viewports (1, makeViewport(m_renderSize)); in iterate()
DvktApiBufferViewAccessTests.cpp356 const std::vector<VkViewport> viewports (1, makeViewport(m_renderSize)); in BufferViewTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp232 vk::VkViewport viewport = vk::makeViewport(tcu::UVec2(width, height)); in setDynamicViewportState()
DvktDynamicStateRSTests.cpp325 vk::VkViewport viewport = vk::makeViewport(tcu::UVec2(width, height)); in setDynamicViewportState()
854 const std::vector<vk::VkViewport> viewports = { vk::makeViewport(extent) }; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp185 const VkViewport viewport = makeViewport(m_renderSize); in build()
DvktGeometryInstancedRenderingTests.cpp96 const std::vector<VkViewport> viewports (1, makeViewport(renderSize)); in makeGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSampleReadTests.cpp505 const std::vector<VkViewport> viewports (1, makeViewport(tcu::UVec2(width, height))); in createRenderPipeline()
619 const std::vector<VkViewport> viewports (1, makeViewport(tcu::UVec2(width, height))); in createSubpassPipeline()
DvktRenderPassFragmentDensityMapTests.cpp1741 …const VkViewport viewportsProduceDynamicDensityMap = makeViewport(densityMapImageSize.width, densi… in FragmentDensityMapTestInstance()
1742 …const VkViewport viewportsSubsampledImage = makeViewport(colorImageSize.width, colorImageSize.he… in FragmentDensityMapTestInstance()
1743 …const VkViewport viewportsOutputSubsampledImage = makeViewport(outputImageSize.width, outputImage… in FragmentDensityMapTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationImageLayoutTransitionTests.cpp184 const vector<VkViewport> viewports (1u, makeViewport(makeExtent3D(WIDTH, HEIGHT, 1u))); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp420 const std::vector<VkViewport> viewports (1, makeViewport(m_renderSize)); in GraphicsEnvironment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp107 const VkViewport defaultViewport = makeViewport(renderSize); in makeGraphicsPipeline()

123456