Skip to content

Abstract Pipeline creation (including pipeline layouts and root signatures)#1070

Open
manon-traverse wants to merge 4 commits intollvm:mainfrom
Traverse-Research:render-backend-api-pipeline-state
Open

Abstract Pipeline creation (including pipeline layouts and root signatures)#1070
manon-traverse wants to merge 4 commits intollvm:mainfrom
Traverse-Research:render-backend-api-pipeline-state

Conversation

@manon-traverse
Copy link
Copy Markdown
Contributor

Add an API-agnostic way of creating compute and graphics pipelines. This includes the creation of pipeline layouts and root signatures. In Metal, there is no real equivalent due to the use of a top-level argument buffer, so the BindingsDesc variable is ignored.

Comment on lines +27 to +29
enum class Format {
R8Sint,
R8g8Sint,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1020 already adds a Format enum. We should use that one once that PR hits main. For this reason, I have marked this PR as a draft.

Comment on lines +71 to +74
std::string Name;
Format Format;
uint32_t OffsetInBytes;
std::optional<uint32_t> InstanceStepRate;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This misses some parameters that are not used. Those will be added once we need them.

@manon-traverse manon-traverse force-pushed the render-backend-api-pipeline-state branch 2 times, most recently from dcfe0e4 to 241f8e7 Compare April 14, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant