Skip to content

Comments

fix(naga): Support dual-source blending for SPIR-V shaders#8865

Merged
Wumpf merged 1 commit intogfx-rs:trunkfrom
andyleiserson:jj-push-ozqy
Jan 28, 2026
Merged

fix(naga): Support dual-source blending for SPIR-V shaders#8865
Wumpf merged 1 commit intogfx-rs:trunkfrom
andyleiserson:jj-push-ozqy

Conversation

@andyleiserson
Copy link
Contributor

@andyleiserson andyleiserson commented Jan 12, 2026

Parse index decorations into the blend_src binding property. I modeled this after what the GLSL front-end does. @Wumpf tagging you because it looks like you added that support in GLSL. I'm a bit out of my element here.

Fixes #8864

Testing
Tested in kas with kas-gui/kas#635. Also adds a snapshot test.

Squash or Rebase? Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@andyleiserson andyleiserson requested a review from Wumpf January 12, 2026 19:36
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

nice, looks pretty straight forward

@Wumpf Wumpf merged commit 0e558f2 into gfx-rs:trunk Jan 28, 2026
53 checks passed
@andyleiserson andyleiserson deleted the jj-push-ozqy branch January 28, 2026 16:21
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.

Dual-source blending support for SPIR-V shaders

2 participants