Skip to content

Conversation

@andyleiserson
Copy link
Contributor

Overlap of color attachments should be computed based on the actual texture resources, not the views used to reference them.

Fixes failure of the CTS test webgpu:api,validation,resource_usages,texture,in_pass_encoder:subresources_and_binding_types_combination_for_color:compute=false;type0="render-target";type1="render-target".

Partially addresses #3126.

Testing
Enables relevant CTS 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.
  • Added a CHANGELOG.md entry.

Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

Makes sense.

@teoxoy teoxoy merged commit 7f64445 into gfx-rs:trunk Oct 22, 2025
41 checks passed
@andyleiserson andyleiserson deleted the push-xowpsnpytynp branch October 22, 2025 15:39
andyleiserson added a commit to andyleiserson/wgpu that referenced this pull request Nov 6, 2025
This was a regression introduced by gfx-rs#8307.

(The failured referred to by "fails due to missing validation" was
fixed before the regression, by gfx-rs#8402, but was not identified as fixed
and added to the test list at that time.)
andyleiserson added a commit that referenced this pull request Nov 7, 2025
This was a regression introduced by #8307.

For mipmapped multi-planar textures, requires that the size is a
multiple of a power of two determined by the mip level count, in lieu
of properly aligning the size of each mip level to an even
dimension. See #8491.

(The failure referred to by "fails due to missing validation" was
fixed before the regression, by #8402, but was not identified as fixed
and added to the test list at that time.)
andyleiserson added a commit that referenced this pull request Nov 7, 2025
This was a regression introduced by #8307.

For mipmapped multi-planar textures, requires that the size is a
multiple of a power of two determined by the mip level count, in lieu
of properly aligning the size of each mip level to an even
dimension. See #8491.

(The failure referred to by "fails due to missing validation" was
fixed before the regression, by #8402, but was not identified as fixed
and added to the test list at that time.)
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.

2 participants