Home
last modified time | relevance | path

Searched refs:pViewportState (Results 1 – 25 of 58) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPipelineConstructionUtil.cpp849 …const auto pViewportState = m_internalData->useViewportState ? &m_internalData->viewportState : D… in setupPreRasterizationShaderState3() local
936 if (pViewportState) in setupPreRasterizationShaderState3()
940 pViewportState->viewportCount = (deUint32)viewports.size(); in setupPreRasterizationShaderState3()
941 pViewportState->pViewports = &viewports[0]; in setupPreRasterizationShaderState3()
945 pViewportState->scissorCount = (deUint32)scissors.size(); in setupPreRasterizationShaderState3()
946 pViewportState->pScissors = &scissors[0]; in setupPreRasterizationShaderState3()
959 m_internalData->monolithicPipelineCreateInfo.pViewportState = pViewportState; in setupPreRasterizationShaderState3()
995 pipelinePartCreateInfo.pViewportState = pViewportState; in setupPreRasterizationShaderState3()
1049 …const auto pViewportState = m_internalData->useViewportState ? &m_internalData->viewportState : D… in setupPreRasterizationMeshShaderState() local
1086 if (pViewportState) in setupPreRasterizationMeshShaderState()
[all …]
DvkSafetyCriticalUtil.cpp421 if (viewportStateRequired && gpCI.pViewportState != DE_NULL) in calculateGraphicsPipelineHash()
423 hashPNextChain(seed, gpCI.pViewportState->pNext, objectHashes); in calculateGraphicsPipelineHash()
424 hash_combine(seed, gpCI.pViewportState->flags); in calculateGraphicsPipelineHash()
426 if (viewportStateViewportsRequired && gpCI.pViewportState->pViewports != DE_NULL) in calculateGraphicsPipelineHash()
427 for (deUint32 i = 0; i < gpCI.pViewportState->viewportCount; ++i) in calculateGraphicsPipelineHash()
428pViewportState->pViewports[i].x, gpCI.pViewportState->pViewports[i].y, gpCI.pViewportState->pViewp… in calculateGraphicsPipelineHash()
430 if (viewportStateScissorsRequired && gpCI.pViewportState->pScissors != DE_NULL) in calculateGraphicsPipelineHash()
431 for (deUint32 i = 0; i < gpCI.pViewportState->scissorCount; ++i) in calculateGraphicsPipelineHash()
432 ….pViewportState->pScissors[i].offset.x, gpCI.pViewportState->pScissors[i].offset.y, gpCI.pViewport… in calculateGraphicsPipelineHash()
DvkResourceInterface.cpp647 if (pCreateInfoCopies[i].pViewportState != DE_NULL) in createGraphicsPipelines()
651 viewportStateCopies[i] = *(pCreateInfoCopies[i].pViewportState); in createGraphicsPipelines()
653 … if (pCreateInfoCopies[i].pViewportState->pViewports != DE_NULL && !viewportStateViewportsRequired) in createGraphicsPipelines()
659 … if (pCreateInfoCopies[i].pViewportState->pScissors != DE_NULL && !viewportStateScissorsRequired) in createGraphicsPipelines()
666 pCreateInfoCopies[i].pViewportState = &(viewportStateCopies[i]); in createGraphicsPipelines()
669 pCreateInfoCopies[i].pViewportState = DE_NULL; in createGraphicsPipelines()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_fast_clear.c243 .pViewportState = in create_pipeline()
293 .pViewportState = in create_pipeline()
343 .pViewportState = in create_pipeline()
Dradv_meta_blit2d.c697 .pViewportState = in blit2d_init_color_pipeline()
831 .pViewportState = in blit2d_init_depth_only_pipeline()
988 .pViewportState = in blit2d_init_stencil_only_pipeline()
Dradv_meta_resolve_fs.c169 .pViewportState = in create_resolve_pipeline()
457 .pViewportState = in create_depth_stencil_resolve_pipeline()
Dradv_meta_decompress.c230 .pViewportState = in create_pipeline()
Dradv_meta_resolve.c119 .pViewportState = in create_pipeline()
Dradv_meta_blit.c729 .pViewportState = in build_pipeline()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_pipeline.c313 (info->pViewportState || info->pMultisampleState || in vn_fix_graphics_pipeline_create_info()
352 info->pViewportState = NULL; in vn_fix_graphics_pipeline_create_info()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c338 panvk_per_arch(emit_viewport)(builder->create_info.gfx->pViewportState->pViewports, in panvk_pipeline_builder_parse_viewport()
339 builder->create_info.gfx->pViewportState->pScissors, in panvk_pipeline_builder_parse_viewport()
345 pipeline->viewport = builder->create_info.gfx->pViewportState->pViewports[0]; in panvk_pipeline_builder_parse_viewport()
348 pipeline->scissor = builder->create_info.gfx->pViewportState->pScissors[0]; in panvk_pipeline_builder_parse_viewport()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c2664 const VkPipelineViewportStateCreateInfo *pViewportState, in pipeline_init_dynamic_state() argument
2693 if (pViewportState) { in pipeline_init_dynamic_state()
2695 dynamic->viewport.count = pViewportState->viewportCount; in pipeline_init_dynamic_state()
2696 typed_memcpy(dynamic->viewport.viewports, pViewportState->pViewports, in pipeline_init_dynamic_state()
2697 pViewportState->viewportCount); in pipeline_init_dynamic_state()
2707 dynamic->scissor.count = pViewportState->scissorCount; in pipeline_init_dynamic_state()
2708 typed_memcpy(dynamic->scissor.scissors, pViewportState->pScissors, in pipeline_init_dynamic_state()
2709 pViewportState->scissorCount); in pipeline_init_dynamic_state()
2951 raster_enabled ? pCreateInfo->pViewportState : NULL; in pipeline_init()
Dv3dv_meta_clear.c495 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp405 const VkPipelineViewportStateCreateInfo *viewportState = pCreateInfo->pViewportState; in GraphicsState()
413 UNSUPPORTED("pCreateInfo->pViewportState->flags %d", int(pCreateInfo->pViewportState->flags)); in GraphicsState()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_pipeline.h1797 size += vn_sizeof_simple_pointer(val->pViewportState); in vn_sizeof_VkGraphicsPipelineCreateInfo_self()
1798 if (val->pViewportState) in vn_sizeof_VkGraphicsPipelineCreateInfo_self()
1799 size += vn_sizeof_VkPipelineViewportStateCreateInfo(val->pViewportState); in vn_sizeof_VkGraphicsPipelineCreateInfo_self()
1887 if (vn_encode_simple_pointer(enc, val->pViewportState)) in vn_encode_VkGraphicsPipelineCreateInfo_self()
1888 vn_encode_VkPipelineViewportStateCreateInfo(enc, val->pViewportState); in vn_encode_VkGraphicsPipelineCreateInfo_self()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.c345 pci.pViewportState = &viewport_state; in zink_create_gfx_pipeline()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp297 pipelineCreateInfo.pViewportState = &viewportState; in createGraphicsPipeline()
/third_party/skia/src/gpu/vk/
DGrVkPipeline.cpp540 pipelineCreateInfo.pViewportState = &viewportInfo; in Make()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp534 createInfo.pViewportState = &viewport; in Initialize()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dpipelines.txt793 * pname:pViewportState is a pointer to a
1130 pname:pViewports member of pname:pViewportState must: be a valid pointer
1131 to an array of pname:pViewportState->viewportCount valid
1138 pname:pScissors member of pname:pViewportState must: be a valid pointer
1139 to an array of pname:pViewportState->scissorCount sname:VkRect2D
1149 member of pname:pViewportState must: be a valid pointer to an array of
1150 pname:pViewportState->viewportCount valid sname:VkViewport structures
1157 member of pname:pViewportState must: be a valid pointer to an array of
1158 pname:pViewportState->scissorCount sname:VkRect2D structures
1171 pname:pRasterizationState is ename:VK_FALSE, pname:pViewportState must:
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dgraphics_pipeline.cc667 pipeline_info.pViewportState = &viewport_info; in CreateVkGraphicsPipeline()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_pipeline.c674 NULL : info->pViewportState; in dzn_graphics_pipeline_compile_shaders()
1139 in_rast->rasterizerDiscardEnable ? NULL : in->pViewportState; in dzn_graphics_pipeline_translate_rast()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp846 gfx_pipeline_info.pViewportState = &viewport_state; in create_graphics_pipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMiscTests.cpp908 preRasterShaderPipelineInfo.pViewportState = &viewportStateInfo; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp1129 pViewportState = &m_viewportState; in addState()

123