Home
last modified time | relevance | path

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

123

/external/deqp/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()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c112 if (pipeline->graphics_create_info.pViewportState) { in lvp_DestroyPipeline()
113 free((void *)pipeline->graphics_create_info.pViewportState->pViewports); in lvp_DestroyPipeline()
114 free((void *)pipeline->graphics_create_info.pViewportState->pScissors); in lvp_DestroyPipeline()
116 free((void *)pipeline->graphics_create_info.pViewportState); in lvp_DestroyPipeline()
330 if (src->pViewportState) { in deep_copy_graphics_create_info()
335 deep_copy_viewport_state(viewport_state, src->pViewportState); in deep_copy_graphics_create_info()
336 dst->pViewportState = viewport_state; in deep_copy_graphics_create_info()
338 dst->pViewportState = NULL; in deep_copy_graphics_create_info()
/external/virglrenderer/src/venus/venus-protocol/
Dvn_protocol_renderer_pipeline.h1899 val->pViewportState = vn_cs_decoder_alloc_temp(dec, sizeof(*val->pViewportState)); in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1900 if (!val->pViewportState) return; in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1901 …ipelineViewportStateCreateInfo_temp(dec, (VkPipelineViewportStateCreateInfo *)val->pViewportState); in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1903 val->pViewportState = NULL; in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1977 if (val->pViewportState) in vn_replace_VkGraphicsPipelineCreateInfo_handle_self()
1978 …VkPipelineViewportStateCreateInfo_handle((VkPipelineViewportStateCreateInfo *)val->pViewportState); in vn_replace_VkGraphicsPipelineCreateInfo_handle_self()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c2098 const VkPipelineViewportStateCreateInfo *pViewportState, in pipeline_init_dynamic_state() argument
2119 if (pViewportState) { in pipeline_init_dynamic_state()
2121 dynamic->viewport.count = pViewportState->viewportCount; in pipeline_init_dynamic_state()
2122 typed_memcpy(dynamic->viewport.viewports, pViewportState->pViewports, in pipeline_init_dynamic_state()
2123 pViewportState->viewportCount); in pipeline_init_dynamic_state()
2133 dynamic->scissor.count = pViewportState->scissorCount; in pipeline_init_dynamic_state()
2134 typed_memcpy(dynamic->scissor.scissors, pViewportState->pScissors, in pipeline_init_dynamic_state()
2135 pViewportState->scissorCount); in pipeline_init_dynamic_state()
2884 raster_enabled ? pCreateInfo->pViewportState : NULL; in pipeline_init()
Dv3dv_meta_clear.c286 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c1869 assert(pCreateInfo->pViewportState); in copy_non_dynamic_state()
1871 dynamic->viewport.count = pCreateInfo->pViewportState->viewportCount; in copy_non_dynamic_state()
1874 pCreateInfo->pViewportState->pViewports, in copy_non_dynamic_state()
1875 pCreateInfo->pViewportState->viewportCount); in copy_non_dynamic_state()
1878 dynamic->scissor.count = pCreateInfo->pViewportState->scissorCount; in copy_non_dynamic_state()
1881 pCreateInfo->pViewportState->pScissors, in copy_non_dynamic_state()
1882 pCreateInfo->pViewportState->scissorCount); in copy_non_dynamic_state()
2069 assert(info->pViewportState); in anv_pipeline_validate_create_info()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.c147 pci.pViewportState = &viewport_state; in zink_create_gfx_pipeline()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_fast_clear.c344 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
390 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
436 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
Dradv_meta_blit2d.c860 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in blit2d_init_color_pipeline()
1051 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in blit2d_init_depth_only_pipeline()
1241 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in blit2d_init_stencil_only_pipeline()
Dradv_meta_decompress.c196 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
Dradv_meta_resolve_fs.c269 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_resolve_pipeline()
638 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_depth_stencil_resolve_pipeline()
Dradv_pipeline.c1518 assert(pCreateInfo->pViewportState); in radv_pipeline_init_dynamic_state()
1520 dynamic->viewport.count = pCreateInfo->pViewportState->viewportCount; in radv_pipeline_init_dynamic_state()
1523 pCreateInfo->pViewportState->pViewports, in radv_pipeline_init_dynamic_state()
1524 pCreateInfo->pViewportState->viewportCount); in radv_pipeline_init_dynamic_state()
1529 dynamic->scissor.count = pCreateInfo->pViewportState->scissorCount; in radv_pipeline_init_dynamic_state()
1532 pCreateInfo->pViewportState->pScissors, in radv_pipeline_init_dynamic_state()
1533 pCreateInfo->pViewportState->scissorCount); in radv_pipeline_init_dynamic_state()
Dradv_meta_resolve.c193 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in create_pipeline()
Dradv_meta_blit.c875 .pViewportState = &(VkPipelineViewportStateCreateInfo) { in build_pipeline()
/external/vulkan-validation-layers/layers/
Dparameter_validation_utils.cpp1233 if (pCreateInfos[i].pViewportState == nullptr) { in manual_PreCallValidateCreateGraphicsPipelines()
1241 const auto &viewport_state = *pCreateInfos[i].pViewportState; in manual_PreCallValidateCreateGraphicsPipelines()
1274 pCreateInfos[i].pViewportState->pNext); in manual_PreCallValidateCreateGraphicsPipelines()
1276 pCreateInfos[i].pViewportState->pNext); in manual_PreCallValidateCreateGraphicsPipelines()
1278 pCreateInfos[i].pViewportState->pNext); in manual_PreCallValidateCreateGraphicsPipelines()
1280 …l_find_in_chain<VkPipelineViewportSwizzleStateCreateInfoNV>(pCreateInfos[i].pViewportState->pNext); in manual_PreCallValidateCreateGraphicsPipelines()
/external/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp297 pipelineCreateInfo.pViewportState = &viewportState; in createGraphicsPipeline()
/external/skia/src/gpu/ganesh/vk/
DGrVkPipeline.cpp532 pipelineCreateInfo.pViewportState = &viewportInfo; in Make()
/external/vulkan-validation-layers/layers/generated/
Dvk_safe_struct.cpp3300 pViewportState(nullptr), in safe_VkGraphicsPipelineCreateInfo()
3337 if (in_struct->pViewportState && has_rasterization) { in safe_VkGraphicsPipelineCreateInfo()
3348pViewportState = new safe_VkPipelineViewportStateCreateInfo(in_struct->pViewportState, is_dynamic_… in safe_VkGraphicsPipelineCreateInfo()
3350 pViewportState = NULL; // original pViewportState pointer ignored in safe_VkGraphicsPipelineCreateInfo()
3381 pViewportState(nullptr), in safe_VkGraphicsPipelineCreateInfo()
3398 pViewportState = nullptr; in safe_VkGraphicsPipelineCreateInfo()
3434 if (src.pViewportState && has_rasterization) { in safe_VkGraphicsPipelineCreateInfo()
3435 pViewportState = new safe_VkPipelineViewportStateCreateInfo(*src.pViewportState); in safe_VkGraphicsPipelineCreateInfo()
3437 pViewportState = NULL; // original pViewportState pointer ignored in safe_VkGraphicsPipelineCreateInfo()
3472 if (pViewportState) in operator =()
[all …]
/external/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp686 gfx_pipeline_info.pViewportState = &viewport_state; in create_graphics_pipeline()
/external/deqp-deps/amber/src/vulkan/
Dgraphics_pipeline.cc667 pipeline_info.pViewportState = &viewport_info; in CreateVkGraphicsPipeline()
/external/swiftshader/src/Device/
DContext.cpp1256 pCreateInfo->pViewportState, in GraphicsState()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMiscTests.cpp908 preRasterShaderPipelineInfo.pViewportState = &viewportStateInfo; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp1129 pViewportState = &m_viewportState; in addState()

123