Home
last modified time | relevance | path

Searched refs:viewportInfo (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkPipeline.cpp219 static void setup_viewport_scissor_state(VkPipelineViewportStateCreateInfo* viewportInfo) { in setup_viewport_scissor_state() argument
220 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 …]
DGrVkCopyPipeline.cpp92 static const VkPipelineViewportStateCreateInfo viewportInfo = { in Create() local
164 pipelineCreateInfo.pViewportState = &viewportInfo; in Create()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp661 VkPipelineViewportStateCreateInfo viewportInfo; in generateWork() local
769 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()
/external/vulkan-validation-layers/demos/
Dcube.cpp1694 auto const viewportInfo = vk::PipelineViewportStateCreateInfo() in prepare_pipeline() local
1748 .setPViewportState(&viewportInfo) in prepare_pipeline()