Skip to content

Conversation

@hasenbanck
Copy link
Contributor

@hasenbanck hasenbanck commented Sep 29, 2025

Connections

Fixes #4538

Description

Implements OpImageGather and OpImageDrefGather when ingesting SPIR-V.

Testing

Snapshot test

Squash or Rebase?

Rebase

Checklist

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

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Great after nit!

Copy link
Member

Choose a reason for hiding this comment

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

This is a very minor nit - lets use gather-cmp instead of gather.cmp; the later implies that there's something about this file which isa comparison, as opposed to testing a comparison feature in slang.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

@hasenbanck
Copy link
Contributor Author

Applied suggested fixes and then rebase against trunk.

@cwfitzgerald cwfitzgerald merged commit 8c4aebc into gfx-rs:trunk Sep 29, 2025
70 of 71 checks passed
@hasenbanck hasenbanck deleted the spirv-gather branch October 6, 2025 05:05
sharmajai pushed a commit to sharmajai/wgpu that referenced this pull request Oct 12, 2025
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.

[spv-in] Support OpImageGather and OpImageDrefGather

2 participants