Skip to content

Implement shader stage hints.#185

Merged
crud89 merged 4 commits intomainfrom
dev/shader-stage-hints
Oct 10, 2025
Merged

Implement shader stage hints.#185
crud89 merged 4 commits intomainfrom
dev/shader-stage-hints

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented Oct 10, 2025

Describe the pull request

This PR implements support for a new pipeline binding hint type: ShaderStageHint. This hint can be defined with a mask of shader stages. If detected, the stages provided this way are masked into the shader stages of the descriptor set for the binding. Note that the actual binding register is ignored in this case.

This hint is useful, if descriptor sets should be re-used between compatible pipelines, where one pipeline may not expose resource access for all required stages through shader reflection.

Related issues

@crud89 crud89 added this to the Alpha #05 milestone Oct 10, 2025
@crud89 crud89 self-assigned this Oct 10, 2025
@crud89 crud89 added this to LiteFX Oct 10, 2025
@crud89 crud89 added Vulkan πŸŒ‹ The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels Oct 10, 2025
@crud89 crud89 moved this to In Progress in LiteFX Oct 10, 2025
@crud89
Copy link
Copy Markdown
Owner Author

crud89 commented Oct 10, 2025

Run: checks

@crud89 crud89 merged commit 82cc1d8 into main Oct 10, 2025
9 checks passed
@crud89 crud89 deleted the dev/shader-stage-hints branch October 10, 2025 15:27
@crud89 crud89 moved this from In Progress to v0.5.1 in LiteFX Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX12 ❎ The issue involves the DX12 backend. Vulkan πŸŒ‹ The issue involves the Vulkan backend.

Projects

Status: v0.5.1

Development

Successfully merging this pull request may close these issues.

Allow overwriting shader stages from binding hints.

1 participant