Skip to content

Fix up and enable clip-distances unconditionally for Metal#9270

Merged
ErichDonGubler merged 2 commits intogfx-rs:trunkfrom
erichdongubler-mozilla:clip_distances-metal
Mar 20, 2026
Merged

Fix up and enable clip-distances unconditionally for Metal#9270
ErichDonGubler merged 2 commits intogfx-rs:trunkfrom
erichdongubler-mozilla:clip_distances-metal

Conversation

@ErichDonGubler
Copy link
Copy Markdown
Member

@ErichDonGubler ErichDonGubler commented Mar 20, 2026

Connections

Based on #8762.

Description

I believe this is valid because:

Testing

Existing CTS coverage should be good for this. I've added some snapshot coverage for a fix for incorrectly ordered printing of resolved binding attributes in the case of an array type.

Squash or Rebase?

Rebase.

Checklist

  • If this contains user-facing changes, add a CHANGELOG.md entry.

@ErichDonGubler ErichDonGubler added type: enhancement New feature or request backend: metal Issues with Metal area: naga back-end Outputs of naga shader conversion naga Shader Translator lang: Metal Metal Shading Language labels Mar 20, 2026
This only really applies to `[[clip_distances]]` right now, but Teo and
I are pretty sure this is the right order for other attributes we might
add for array types, too.
@ErichDonGubler ErichDonGubler marked this pull request as ready for review March 20, 2026 16:41
@ErichDonGubler ErichDonGubler enabled auto-merge (rebase) March 20, 2026 16:49
@ErichDonGubler ErichDonGubler changed the title Enable clip-distances unconditionally for Metal Fix up and enable clip-distances unconditionally for Metal Mar 20, 2026
@ErichDonGubler ErichDonGubler merged commit 3c13b5e into gfx-rs:trunk Mar 20, 2026
59 checks passed
@ErichDonGubler ErichDonGubler deleted the clip_distances-metal branch March 20, 2026 16:58
@teoxoy teoxoy mentioned this pull request Mar 20, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: naga back-end Outputs of naga shader conversion backend: metal Issues with Metal lang: Metal Metal Shading Language naga Shader Translator type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants