Skip to content

[Impeller] Statically assert that the pipeline stages have compatible interfaces. #146452

@chinmaygarde

Description

@chinmaygarde

When creating a pipeline builder, there is no checking to see if the stages of the pipeline are actually compatible. The error will only become apparent if the pipeline is used in a command dispatch and validation layers are enabled.

This is easy to do at build time as the PipelineBuilder template parameters VertexShader and FragmentShaders have kAllShaderStageInputs and kAllShaderStageOutputs constexpr members can be statically asserted to be equal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    e: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions