/third_party/vk-gl-cts/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 | 232 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initialize() local 233 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initialize() 234 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initialize() 235 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initialize() 236 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initialize() 237 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initialize() 238 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1)); in initialize() 239 pipelineCreateInfo.addState(m_depthStencilState); in initialize() 240 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initialize() 241 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initialize() [all …]
|
D | vktDynamicStateDSTests.cpp | 615 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 616 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 617 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline() 618 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline() 619 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline() 620 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline() 621 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1)); in initPipeline() 622 …pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState(false, false, vk::VK_COMPARE_OP_… in initPipeline() 623 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline() 624 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBaseClass.cpp | 160 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 161 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 162 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline() 163 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline() 164 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_topology)); in initPipeline() 165 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline() 166 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in initPipeline() 167 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in initPipeline() 168 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline() 169 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline() [all …]
|
D | vktDrawDifferingInterpolationTests.cpp | 280 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 281 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 282 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate() 283 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate() 284 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate() 285 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in iterate() 286 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, vector<VkViewport>(1, viewport), … in iterate() 287 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate() 288 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate() 289 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in iterate() [all …]
|
D | vktDrawNegativeViewportHeightTests.cpp | 212 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in NegativeViewportHeightTestInstance() local 213 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in NegativeViewportHeightTestInstance() 214 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in NegativeViewportHeightTestInstance() 215 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in NegativeViewportHeightTestInstance() 216 …pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGL… in NegativeViewportHeightTestInstance() 217 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &colorBlendAttachmentState)); in NegativeViewportHeightTestInstance() 218 …pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(), std… in NegativeViewportHeightTestInstance() 219 pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState ()); in NegativeViewportHeightTestInstance() 220 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ( in NegativeViewportHeightTestInstance() 231 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in NegativeViewportHeightTestInstance() [all …]
|
D | vktDrawDepthClampTests.cpp | 423 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in DepthClampTestInstance() local 424 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in DepthClampTestInstance() 426 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*geometryModule, "main", VK_S… in DepthClampTestInstance() 427 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in DepthClampTestInstance() 428 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in DepthClampTestInstance() 429 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(verticesTopology)); in DepthClampTestInstance() 430 …pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (viewportCount, m_viewportVect, m_… in DepthClampTestInstance() 431 …pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (VK_TRUE, VK_TRUE, VK_COMPARE_O… in DepthClampTestInstance() 432 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ( in DepthClampTestInstance() 443 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in DepthClampTestInstance() [all …]
|
D | vktDrawExplicitVertexParameterTests.cpp | 501 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 502 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 503 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in iterate() 504 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in iterate() 505 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(VK_PRIMITIVE_TOPOLOGY_TRIANGLE… in iterate() 506 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in iterate() 507 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, vector<VkViewport>(1, viewport), … in iterate() 508 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate() 509 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate() 510 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 | 350 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in MultipleClearsTest() local 351 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vertexModule, "main", VK_S… in MultipleClearsTest() 352 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fragmentModule, "main", VK_S… in MultipleClearsTest() 353 pipelineCreateInfo.addState (PipelineCreateInfo::VertexInputState (vertexInputState)); in MultipleClearsTest() 354 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(vertexData.topology)); in MultipleClearsTest() 355 pipelineCreateInfo.addState (PipelineCreateInfo::ColorBlendState (1, &vkCbAttachmentState)); in MultipleClearsTest() 356 …pipelineCreateInfo.addState (PipelineCreateInfo::ViewportState (1, std::vector<VkViewport>(1, vie… in MultipleClearsTest() 357 …pipelineCreateInfo.addState (PipelineCreateInfo::DepthStencilState (hasDepth, hasDepth, VK_COMPARE… in MultipleClearsTest() 358 pipelineCreateInfo.addState (PipelineCreateInfo::RasterizerState ()); in MultipleClearsTest() 359 pipelineCreateInfo.addState (PipelineCreateInfo::MultiSampleState ()); in MultipleClearsTest() [all …]
|
D | vktDrawMultipleInterpolationTests.cpp | 507 PipelineCreateInfo pipelineCreateInfo (*pipelineLayout, *renderPass, 0, 0); in render() local 528 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in render() 529 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in render() 530 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(vertexInputState)); in render() 531 …pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(vk::VK_PRIMITIVE_TOPOLOGY_TRIA… in render() 532 …pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState((deUint32)vkCbAttachmentStates.siz… in render() 533 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in render() 534 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in render() 535 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in render() 536 …pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState(m_params.samples, sampleShadingEn… in render() [all …]
|
D | vktDrawScissorTests.cpp | 475 PipelineCreateInfo pipelineCreateInfo(*pipelineLayout, *renderPass, 0, 0); in iterate() local 476 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in iterate() 478 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*gs, "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() 482 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &colorBlendState)); in iterate() 483 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in iterate() 484 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in iterate() 485 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in iterate() [all …]
|
D | vktDrawInstancedTests.cpp | 500 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in InstancedDrawInstance() local 501 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in InstancedDrawInstance() 502 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in InstancedDrawInstance() 503 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in InstancedDrawInstance() 504 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_params.topology)); in InstancedDrawInstance() 505 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in InstancedDrawInstance() 506 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in InstancedDrawInstance() 507 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in InstancedDrawInstance() 508 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in InstancedDrawInstance() 509 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in InstancedDrawInstance() [all …]
|
D | vktBasicDrawTests.cpp | 433 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in initPipeline() local 434 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in initPipeline() 435 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in initPipeline() 436 pipelineCreateInfo.addState(PipelineCreateInfo::VertexInputState(m_vertexInputState)); in initPipeline() 437 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology)); in initPipeline() 438 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &vkCbAttachmentState)); in initPipeline() 439 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in initPipeline() 440 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in initPipeline() 441 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in initPipeline() 442 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in initPipeline() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 530 VkGraphicsPipelineCreateInfo pipelineCreateInfo; in Make() local 531 memset(&pipelineCreateInfo, 0, sizeof(VkGraphicsPipelineCreateInfo)); in Make() 532 pipelineCreateInfo.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in Make() 533 pipelineCreateInfo.pNext = nullptr; in Make() 534 pipelineCreateInfo.flags = 0; in Make() 535 pipelineCreateInfo.stageCount = shaderStageCount; in Make() 536 pipelineCreateInfo.pStages = shaderStageInfo; in Make() 537 pipelineCreateInfo.pVertexInputState = &vertexInputInfo; in Make() 538 pipelineCreateInfo.pInputAssemblyState = &inputAssemblyInfo; in Make() 539 pipelineCreateInfo.pTessellationState = nullptr; in Make() [all …]
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkObjUtil.cpp | 56 const VkComputePipelineCreateInfo pipelineCreateInfo = in makeComputePipeline() local 66 return createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo); in makeComputePipeline() 297 const VkGraphicsPipelineCreateInfo pipelineCreateInfo = in makeGraphicsPipeline() local 320 return createGraphicsPipeline(vk, device, DE_NULL, &pipelineCreateInfo); in makeGraphicsPipeline() 391 const VkGraphicsPipelineCreateInfo pipelineCreateInfo = in makeGraphicsPipeline() local 414 return createGraphicsPipeline(vk, device, DE_NULL, &pipelineCreateInfo); in makeGraphicsPipeline() 505 const VkGraphicsPipelineCreateInfo pipelineCreateInfo = in makeGraphicsPipeline() local 528 return createGraphicsPipeline(vk, device, DE_NULL, &pipelineCreateInfo); in makeGraphicsPipeline()
|
/third_party/vk-gl-cts/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 | 618 const VkComputePipelineCreateInfo pipelineCreateInfo = in executeTest() local 628 …const Unique<VkPipeline> pipeline(createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo)… in executeTest() 834 const VkComputePipelineCreateInfo pipelineCreateInfo = in executeTest() local 844 …elineSp(new Unique<VkPipeline>(createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo)))); in executeTest() 1084 const VkComputePipelineCreateInfo pipelineCreateInfo = in executeTest() local 1094 …elineSp(new Unique<VkPipeline>(createComputePipeline(vk, device, DE_NULL , &pipelineCreateInfo)))); in executeTest() 1477 …PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, (VkPipelineCreateFlags)… in createPipeline() local 1478 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", VK_SHADER_STAGE_… in createPipeline() 1480 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", VK_SHADER_STAGE_… in createPipeline() 1481 pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState()); in createPipeline() [all …]
|
D | vktQueryPoolOcclusionTests.cpp | 209 PipelineCreateInfo pipelineCreateInfo(*m_pipelineLayout, *m_renderPass, 0, 0); in StateObjects() local 210 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*vs, "main", vk::VK_SHADER_ST… in StateObjects() 211 …pipelineCreateInfo.addShader(PipelineCreateInfo::PipelineShaderStage(*fs, "main", vk::VK_SHADER_ST… in StateObjects() 212 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(primitive)); in StateObjects() 213 pipelineCreateInfo.addState(PipelineCreateInfo::ColorBlendState(1, &attachmentState)); in StateObjects() 216 …pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, vi… in StateObjects() 217 …pipelineCreateInfo.addState(PipelineCreateInfo::DepthStencilState(true, true, vk::VK_COMPARE_OP_GR… in StateObjects() 218 pipelineCreateInfo.addState(PipelineCreateInfo::RasterizerState()); in StateObjects() 219 pipelineCreateInfo.addState(PipelineCreateInfo::MultiSampleState()); in StateObjects() 220 pipelineCreateInfo.addState(vf_info); in StateObjects() [all …]
|
/third_party/vk-gl-cts/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()
|