Home
last modified time | relevance | path

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

/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp264 static void setup_viewport_scissor_state(VkPipelineViewportStateCreateInfo* viewportInfo) { in setup_viewport_scissor_state() argument
265 memset(viewportInfo, 0, sizeof(VkPipelineViewportStateCreateInfo)); in setup_viewport_scissor_state()
266 viewportInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO; in setup_viewport_scissor_state()
267 viewportInfo->pNext = nullptr; in setup_viewport_scissor_state()
268 viewportInfo->flags = 0; in setup_viewport_scissor_state()
270 viewportInfo->viewportCount = 1; in setup_viewport_scissor_state()
271 viewportInfo->pViewports = nullptr; // This is set dynamically in setup_viewport_scissor_state()
273 viewportInfo->scissorCount = 1; in setup_viewport_scissor_state()
274 viewportInfo->pScissors = nullptr; // This is set dynamically in setup_viewport_scissor_state()
276 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/skia/src/gpu/vk/
DGrVkPipeline.cpp268 static void setup_viewport_scissor_state(VkPipelineViewportStateCreateInfo* viewportInfo) { in setup_viewport_scissor_state() argument
269 memset(viewportInfo, 0, sizeof(VkPipelineViewportStateCreateInfo)); in setup_viewport_scissor_state()
270 viewportInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO; in setup_viewport_scissor_state()
271 viewportInfo->pNext = nullptr; in setup_viewport_scissor_state()
272 viewportInfo->flags = 0; in setup_viewport_scissor_state()
274 viewportInfo->viewportCount = 1; in setup_viewport_scissor_state()
275 viewportInfo->pViewports = nullptr; // This is set dynamically in setup_viewport_scissor_state()
277 viewportInfo->scissorCount = 1; in setup_viewport_scissor_state()
278 viewportInfo->pScissors = nullptr; // This is set dynamically in setup_viewport_scissor_state()
280 SkASSERT(viewportInfo->viewportCount == viewportInfo->scissorCount); in setup_viewport_scissor_state()
[all …]
DGrVkCopyPipeline.cpp96 static const VkPipelineViewportStateCreateInfo viewportInfo = { in Create() local
168 pipelineCreateInfo.pViewportState = &viewportInfo; in Create()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp642 VkPipelineViewportStateCreateInfo viewportInfo; in generateWork() local
750 deMemset(&viewportInfo, 0xcd, sizeof(viewportInfo)); in generateWork()
751 viewportInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO; in generateWork()
752 viewportInfo.pNext = DE_NULL; in generateWork()
753 viewportInfo.flags = 0; in generateWork()
754 viewportInfo.viewportCount = 1; in generateWork()
755 viewportInfo.pViewports = &viewport; in generateWork()
756 viewportInfo.scissorCount = 1; in generateWork()
757 viewportInfo.pScissors = &scissor; in generateWork()
837 pipelineState.pViewportState = &viewportInfo; in generateWork()