/external/skqp/src/gpu/vk/ |
D | GrVkCopyPipeline.cpp | 154 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 …]
|
D | GrVkPipeline.cpp | 538 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/ |
D | vktDynamicStateCBTests.cpp | 73 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 74 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 75 …pipelineCreateInfo.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() 78 …pipelineCreateInfo.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 …]
|
D | vktDynamicStateBaseClass.cpp | 174 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 175 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 176 …pipelineCreateInfo.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 …]
|
D | vktDynamicStateVPTests.cpp | 245 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 246 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 247 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*gs, "main", vk::VK_SHADER_ST… in initPipeline() 248 …pipelineCreateInfo.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 …]
|
D | vktDynamicStateRSTests.cpp | 224 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initialize() local 225 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initialize() 226 …pipelineCreateInfo.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 …]
|
D | vktDynamicStateDSTests.cpp | 614 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 615 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 616 …pipelineCreateInfo.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() 621 …pipelineCreateInfo.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/ |
D | vktDrawBaseClass.cpp | 158 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 159 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 160 …pipelineCreateInfo.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() 164 …pipelineCreateInfo.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 …]
|
D | vktDrawDifferingInterpolationTests.cpp | 273 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 274 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 275 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate() 276 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate() 277 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate() 278 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in iterate() 279 …pipelineCreateInfo.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 …]
|
D | vktDrawNegativeViewportHeightTests.cpp | 215 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in NegativeViewportHeightTestInstance() local 216 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in NegativeViewportHeightTestInstance() 217 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in NegativeViewportHeightTestInstance() 218 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in NegativeViewportHeightTestInstance() 219 …pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGL… in NegativeViewportHeightTestInstance() 220 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &colorBlendAttachmentState)); in NegativeViewportHeightTestInstance() 221 …pipelineCreateInfo.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 …]
|
D | vktDrawDepthClampTests.cpp | 304 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in DepthClampTestInstance() local 305 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in DepthClampTestInstance() 306 …pipelineCreateInfo.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() 309 …pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(1, vie… in DepthClampTestInstance() 310 …pipelineCreateInfo.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 …]
|
D | vktDrawExplicitVertexParameterTests.cpp | 495 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 496 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 497 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate() 498 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate() 499 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate() 500 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in iterate() 501 …pipelineCreateInfo.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 …]
|
D | vktDrawInvertedDepthRangesTests.cpp | 273 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in InvertedDepthRangesTestInstance() local 274 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in InvertedDepthRangesTestInstance() 275 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in InvertedDepthRangesTestInstance() 276 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in InvertedDepthRangesTestInstance() 277 …pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGL… in InvertedDepthRangesTestInstance() 278 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &colorBlendAttachmentState)); in InvertedDepthRangesTestInstance() 279 …pipelineCreateInfo.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 …]
|
D | vktDrawAhbTests.cpp | 477 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 478 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 479 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate() 480 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate() 481 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate() 483 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1u, &attachment)); in iterate() 484 …pipelineCreateInfo.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 …]
|
D | vktDrawMultipleClearsWithinRenderPass.cpp | 340 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in MultipleClearsTest() local 341 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in MultipleClearsTest() 342 …pipelineCreateInfo.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() 346 …pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(1, vie… in MultipleClearsTest() 347 …pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE… in MultipleClearsTest() 348 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ()); in MultipleClearsTest() 349 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in MultipleClearsTest() [all …]
|
D | vktDrawMultipleInterpolationTests.cpp | 457 PipelineCreateInfo pipelineCreateInfo (*pipelineLayout, *renderPass, 0, 0); in render() local 478 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in render() 479 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in render() 480 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in render() 481 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(vk::VK_PRIMITIVE_TOPOLOGY_TRIA… in render() 482 …pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState((deUint32)vkCbAttachmentStates.siz… in render() 483 …pipelineCreateInfo.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 …]
|
D | vktDrawScissorTests.cpp | 468 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 469 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 471 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*gs, "main", VK_SHADER_STAGE_… in iterate() 472 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate() 473 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate() 474 …pipelineCreateInfo.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 …]
|
D | vktDrawInstancedTests.cpp | 497 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in InstancedDrawInstance() local 498 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in InstancedDrawInstance() 499 …pipelineCreateInfo.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() 503 …pipelineCreateInfo.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/ |
D | GrVkPipeline.cpp | 562 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/ |
D | DrawTester.cpp | 225 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/ |
D | vktQueryPoolPerformanceTests.cpp | 521 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initStateObjects() local 522 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in initStateObjects() 523 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in initStateObjects() 524 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in initStateObjects() 525 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &attachmentState)); in initStateObjects() 528 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<VkViewport>(1, viewpo… in initStateObjects() 529 …pipelineCreateInfo.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 …]
|
D | vktQueryPoolConcurrentTests.cpp | 218 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in StateObjects() local 219 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in StateObjects() 220 …pipelineCreateInfo.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() 225 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in StateObjects() 226 …pipelineCreateInfo.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 …]
|
D | vktQueryPoolStatisticsTests.cpp | 508 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 1239 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in createPipeline() 1241 …pipelineCreateInfo.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/ |
D | vktComputeTestsUtil.cpp | 89 const VkComputePipelineCreateInfo pipelineCreateInfo = in makeComputePipeline() local 99 return createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo); in makeComputePipeline()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkObjUtil.cpp | 55 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()
|