Searched refs:viewportInfo (Results 1 – 4 of 4) sorted by relevance
219 static void setup_viewport_scissor_state(VkPipelineViewportStateCreateInfo* viewportInfo) { in setup_viewport_scissor_state() argument220 memset(viewportInfo, 0, sizeof(VkPipelineViewportStateCreateInfo)); in setup_viewport_scissor_state()221 viewportInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO; in setup_viewport_scissor_state()222 viewportInfo->pNext = nullptr; in setup_viewport_scissor_state()223 viewportInfo->flags = 0; in setup_viewport_scissor_state()225 viewportInfo->viewportCount = 1; in setup_viewport_scissor_state()226 viewportInfo->pViewports = nullptr; // This is set dynamically in setup_viewport_scissor_state()228 viewportInfo->scissorCount = 1; in setup_viewport_scissor_state()229 viewportInfo->pScissors = nullptr; // This is set dynamically in setup_viewport_scissor_state()231 SkASSERT(viewportInfo->viewportCount == viewportInfo->scissorCount); in setup_viewport_scissor_state()[all …]
92 static const VkPipelineViewportStateCreateInfo viewportInfo = { in Create() local164 pipelineCreateInfo.pViewportState = &viewportInfo; in Create()
661 VkPipelineViewportStateCreateInfo viewportInfo; in generateWork() local769 deMemset(&viewportInfo, 0xcd, sizeof(viewportInfo)); in generateWork()770 viewportInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO; in generateWork()771 viewportInfo.pNext = DE_NULL; in generateWork()772 viewportInfo.flags = 0; in generateWork()773 viewportInfo.viewportCount = 1; in generateWork()774 viewportInfo.pViewports = &viewport; in generateWork()775 viewportInfo.scissorCount = 1; in generateWork()776 viewportInfo.pScissors = &scissor; in generateWork()856 pipelineState.pViewportState = &viewportInfo; in generateWork()
1694 auto const viewportInfo = vk::PipelineViewportStateCreateInfo() in prepare_pipeline() local1748 .setPViewportState(&viewportInfo) in prepare_pipeline()