Home
last modified time | relevance | path

Searched refs:pipelineCreateInfo (Results 1 – 25 of 61) sorted by relevance

123

/external/skqp/src/gpu/vk/
DGrVkCopyPipeline.cpp154 VkGraphicsPipelineCreateInfo pipelineCreateInfo; in Create() local
155 memset(&pipelineCreateInfo, 0, sizeof(VkGraphicsPipelineCreateInfo)); in Create()
156 pipelineCreateInfo.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in Create()
157 pipelineCreateInfo.pNext = nullptr; in Create()
158 pipelineCreateInfo.flags = 0; in Create()
159 pipelineCreateInfo.stageCount = 2; in Create()
160 pipelineCreateInfo.pStages = shaderStageInfo; in Create()
161 pipelineCreateInfo.pVertexInputState = &vertexInputInfo; in Create()
162 pipelineCreateInfo.pInputAssemblyState = &inputAssemblyInfo; in Create()
163 pipelineCreateInfo.pTessellationState = nullptr; in Create()
[all …]
DGrVkPipeline.cpp538 VkGraphicsPipelineCreateInfo pipelineCreateInfo; in Create() local
539 memset(&pipelineCreateInfo, 0, sizeof(VkGraphicsPipelineCreateInfo)); in Create()
540 pipelineCreateInfo.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in Create()
541 pipelineCreateInfo.pNext = nullptr; in Create()
542 pipelineCreateInfo.flags = 0; in Create()
543 pipelineCreateInfo.stageCount = shaderStageCount; in Create()
544 pipelineCreateInfo.pStages = shaderStageInfo; in Create()
545 pipelineCreateInfo.pVertexInputState = &vertexInputInfo; in Create()
546 pipelineCreateInfo.pInputAssemblyState = &inputAssemblyInfo; in Create()
547 pipelineCreateInfo.pTessellationState = nullptr; in Create()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateCBTests.cpp73 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local
74pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline()
75pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline()
76 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline()
77 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline()
78pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &VkPipelineColorBlendAttachment… in initPipeline()
79 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1)); in initPipeline()
80 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in initPipeline()
81 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline()
82 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline()
[all …]
DvktDynamicStateBaseClass.cpp174 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local
175pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline()
176pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline()
177 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline()
178 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline()
179 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline()
180 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1)); in initPipeline()
181 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in initPipeline()
182 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline()
183 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline()
[all …]
DvktDynamicStateVPTests.cpp245 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local
246pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline()
247pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*gs, "main", vk::VK_SHADER_ST… in initPipeline()
248pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline()
249 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline()
250 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline()
251 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline()
252 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(4)); in initPipeline()
253 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in initPipeline()
254 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline()
[all …]
DvktDynamicStateRSTests.cpp224 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initialize() local
225pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initialize()
226pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initialize()
227 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initialize()
228 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initialize()
229 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initialize()
230 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1)); in initialize()
231 pipelineCreateInfo.addState(m_depthStencilState); in initialize()
232 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initialize()
233 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initialize()
[all …]
DvktDynamicStateDSTests.cpp614 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local
615pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline()
616pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline()
617 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline()
618 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline()
619 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline()
620 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1)); in initPipeline()
621pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState(false, false, vk::VK_COMPARE_OP_… in initPipeline()
622 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline()
623 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawBaseClass.cpp158 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local
159pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline()
160pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline()
161 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline()
162 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline()
163 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline()
164pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in initPipeline()
165 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in initPipeline()
166 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline()
167 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline()
[all …]
DvktDrawDifferingInterpolationTests.cpp273 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local
274pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate()
275pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate()
276 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate()
277pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate()
278 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in iterate()
279pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, vector<VkViewport>(1, viewport), … in iterate()
280 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate()
281 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate()
282 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in iterate()
[all …]
DvktDrawNegativeViewportHeightTests.cpp215 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in NegativeViewportHeightTestInstance() local
216pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in NegativeViewportHeightTestInstance()
217pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in NegativeViewportHeightTestInstance()
218 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in NegativeViewportHeightTestInstance()
219pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGL… in NegativeViewportHeightTestInstance()
220 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &colorBlendAttachmentState)); in NegativeViewportHeightTestInstance()
221pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(), std… in NegativeViewportHeightTestInstance()
222 pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState ()); in NegativeViewportHeightTestInstance()
223 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ( in NegativeViewportHeightTestInstance()
234 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in NegativeViewportHeightTestInstance()
[all …]
DvktDrawDepthClampTests.cpp304 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in DepthClampTestInstance() local
305pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in DepthClampTestInstance()
306pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in DepthClampTestInstance()
307 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in DepthClampTestInstance()
308 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(verticesTopology)); in DepthClampTestInstance()
309pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(1, vie… in DepthClampTestInstance()
310pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (VK_TRUE, VK_TRUE, VK_COMPARE_O… in DepthClampTestInstance()
311 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ( in DepthClampTestInstance()
322 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in DepthClampTestInstance()
323 pipelineCreateInfo.addState (PipelineCreateInfo::DynamicState (dynamicStates)); in DepthClampTestInstance()
[all …]
DvktDrawExplicitVertexParameterTests.cpp495 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local
496pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate()
497pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate()
498 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate()
499pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate()
500 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in iterate()
501pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, vector<VkViewport>(1, viewport), … in iterate()
502 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate()
503 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate()
504 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState(m_data.samples)); in iterate()
[all …]
DvktDrawInvertedDepthRangesTests.cpp273 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in InvertedDepthRangesTestInstance() local
274pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in InvertedDepthRangesTestInstance()
275pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in InvertedDepthRangesTestInstance()
276 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in InvertedDepthRangesTestInstance()
277pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGL… in InvertedDepthRangesTestInstance()
278 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &colorBlendAttachmentState)); in InvertedDepthRangesTestInstance()
279pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(), std… in InvertedDepthRangesTestInstance()
280 pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (true, true)); in InvertedDepthRangesTestInstance()
281 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ( in InvertedDepthRangesTestInstance()
292 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in InvertedDepthRangesTestInstance()
[all …]
DvktDrawAhbTests.cpp477 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local
478pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate()
479pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate()
480 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate()
481pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate()
483 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1u, &attachment)); in iterate()
484pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, vector<VkViewport>(1, viewport), … in iterate()
485 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate()
486 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate()
487 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in iterate()
[all …]
DvktDrawMultipleClearsWithinRenderPass.cpp340 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in MultipleClearsTest() local
341pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in MultipleClearsTest()
342pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in MultipleClearsTest()
343 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in MultipleClearsTest()
344 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(vertexData.topology)); in MultipleClearsTest()
345 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &vkCbAttachmentState)); in MultipleClearsTest()
346pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(1, vie… in MultipleClearsTest()
347pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE… in MultipleClearsTest()
348 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ()); in MultipleClearsTest()
349 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in MultipleClearsTest()
[all …]
DvktDrawMultipleInterpolationTests.cpp457 PipelineCreateInfo pipelineCreateInfo (*pipelineLayout, *renderPass, 0, 0); in render() local
478pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in render()
479pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in render()
480 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in render()
481pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(vk::VK_PRIMITIVE_TOPOLOGY_TRIA… in render()
482pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState((deUint32)vkCbAttachmentStates.siz… in render()
483pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in render()
484 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in render()
485 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in render()
486 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState(m_params.samples)); in render()
[all …]
DvktDrawScissorTests.cpp468 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local
469pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate()
471pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*gs, "main", VK_SHADER_STAGE_… in iterate()
472pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate()
473 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate()
474pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate()
475 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &colorBlendState)); in iterate()
476 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate()
477 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate()
478 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in iterate()
[all …]
DvktDrawInstancedTests.cpp497 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in InstancedDrawInstance() local
498pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in InstancedDrawInstance()
499pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in InstancedDrawInstance()
500 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in InstancedDrawInstance()
501 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_params.topology)); in InstancedDrawInstance()
502 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in InstancedDrawInstance()
503pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in InstancedDrawInstance()
504 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in InstancedDrawInstance()
505 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in InstancedDrawInstance()
506 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in InstancedDrawInstance()
[all …]
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp562 VkGraphicsPipelineCreateInfo pipelineCreateInfo; in Make() local
563 memset(&pipelineCreateInfo, 0, sizeof(VkGraphicsPipelineCreateInfo)); in Make()
564 pipelineCreateInfo.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in Make()
565 pipelineCreateInfo.pNext = nullptr; in Make()
566 pipelineCreateInfo.flags = 0; in Make()
567 pipelineCreateInfo.stageCount = shaderStageCount; in Make()
568 pipelineCreateInfo.pStages = shaderStageInfo; in Make()
569 pipelineCreateInfo.pVertexInputState = &vertexInputInfo; in Make()
570 pipelineCreateInfo.pInputAssemblyState = &inputAssemblyInfo; in Make()
571 pipelineCreateInfo.pTessellationState = nullptr; in Make()
[all …]
/external/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp225 vk::GraphicsPipelineCreateInfo pipelineCreateInfo; in createGraphicsPipeline() local
226 pipelineCreateInfo.layout = pipelineLayout; in createGraphicsPipeline()
227 pipelineCreateInfo.renderPass = renderPass; in createGraphicsPipeline()
290 pipelineCreateInfo.stageCount = static_cast<uint32_t>(shaderStages.size()); in createGraphicsPipeline()
291 pipelineCreateInfo.pStages = shaderStages.data(); in createGraphicsPipeline()
292 pipelineCreateInfo.pVertexInputState = &vertices.inputState; in createGraphicsPipeline()
293 pipelineCreateInfo.pInputAssemblyState = &inputAssemblyState; in createGraphicsPipeline()
294 pipelineCreateInfo.pRasterizationState = &rasterizationState; in createGraphicsPipeline()
295 pipelineCreateInfo.pColorBlendState = &colorBlendState; in createGraphicsPipeline()
296 pipelineCreateInfo.pMultisampleState = &multisampleState; in createGraphicsPipeline()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolPerformanceTests.cpp521 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initStateObjects() local
522pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in initStateObjects()
523pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in initStateObjects()
524pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in initStateObjects()
525 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &attachmentState)); in initStateObjects()
528pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<VkViewport>(1, viewpo… in initStateObjects()
529pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState(false, false, VK_COMPARE_OP_GREA… in initStateObjects()
530 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initStateObjects()
531 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initStateObjects()
532 pipelineCreateInfo.addState(vf_info); in initStateObjects()
[all …]
DvktQueryPoolConcurrentTests.cpp218 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in StateObjects() local
219pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in StateObjects()
220pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in StateObjects()
221 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(primitive)); in StateObjects()
222 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &attachmentState)); in StateObjects()
225pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in StateObjects()
226pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState(true, true, vk::VK_COMPARE_OP_GR… in StateObjects()
227 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in StateObjects()
228 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in StateObjects()
229 pipelineCreateInfo.addState(vf_info); in StateObjects()
[all …]
DvktQueryPoolStatisticsTests.cpp508 const VkComputePipelineCreateInfo pipelineCreateInfo = in executeTest() local
518 …const Unique<VkPipeline> pipeline(createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo)… in executeTest()
674 const VkComputePipelineCreateInfo pipelineCreateInfo = in executeTest() local
684 …elineSp(new Unique<VkPipeline>(createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo)))); in executeTest()
875 const VkComputePipelineCreateInfo pipelineCreateInfo = in executeTest() local
885 …elineSp(new Unique<VkPipeline>(createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo)))); in executeTest()
1238 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in createPipeline() local
1239pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in createPipeline()
1241pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in createPipeline()
1242 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in createPipeline()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp89 const VkComputePipelineCreateInfo pipelineCreateInfo = in makeComputePipeline() local
99 return createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo); in makeComputePipeline()
/external/deqp/external/vulkancts/framework/vulkan/
DvkObjUtil.cpp55 const VkComputePipelineCreateInfo pipelineCreateInfo = in makeComputePipeline() local
65 return createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo); in makeComputePipeline()
295 const VkGraphicsPipelineCreateInfo pipelineCreateInfo = in makeGraphicsPipeline() local
318 return createGraphicsPipeline(vk, device, DE_NULL, &pipelineCreateInfo); in makeGraphicsPipeline()
388 const VkGraphicsPipelineCreateInfo pipelineCreateInfo = in makeGraphicsPipeline() local
411 return createGraphicsPipeline(vk, device, DE_NULL, &pipelineCreateInfo); in makeGraphicsPipeline()

123