Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of Surface TextureFormats has changed #3438

Closed
sotrh opened this issue Jan 30, 2023 · 0 comments · Fixed by #3444
Closed

Order of Surface TextureFormats has changed #3438

sotrh opened this issue Jan 30, 2023 · 0 comments · Fixed by #3444

Comments

@sotrh
Copy link

sotrh commented Jan 30, 2023

Description
The order of surface TextureFormats has changed unexpectedly. It orginally specified srgb TextureFormats before linear ones, but in the update to 0.15 the order changed to specify linear formats before srgb ones. Many users expect the first format in the list to be an srgb format and upgrading to 0.15 causes the rendering to be darker than expected.

Repro steps

  • Take this code and run it.
  • Update wgpu to 0.15

Expected vs observed behavior
Expected: The rendering should stay the same, or at least the change should be noted in the 0.15 change log.
Observed: the rendering is darker than expected.

Extra materials
Expected:
image

Actual:
Screenshot from 2023-01-30 12-04-34

Platform
wgpu = 0.15
cargo 1.67.0 (8ecd4f20a 2023-01-10)
rustc 1.67.0 (fc594f156 2023-01-24)

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 a pull request may close this issue.

1 participant