Creating a graphics pipeline requires us to prepare many parameters controlling its many different aspects. All these parameters are grouped into a variable of type VkGraphicsPipelineCreateInfo which needs to be properly initialized before we can use it to create a pipeline.
Specifying graphics pipeline creation parameters
How to do it...
- Create a variable of a bitfield type VkPipelineCreateFlags named additional_options through which provide additional pipeline creation options:
- Disable optimization: specifies that the created pipeline won't be optimized, but the creation process may be faster
- Allow derivatives: specifies that other pipelines may be created from it
- Derivative: specifies that this pipeline will be created based on another, already created...