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

WebGPURenderer: wrong update of compressed textures #29786

Open
vlucendo opened this issue Nov 1, 2024 · 1 comment
Open

WebGPURenderer: wrong update of compressed textures #29786

vlucendo opened this issue Nov 1, 2024 · 1 comment

Comments

@vlucendo
Copy link
Contributor

vlucendo commented Nov 1, 2024

Description

Updating compressed textures with the contents of others of different formats by copying them fails sometimes and have visual errors, but the same functionality works fine in WebGL. This functionality is often used when creating an empty texture while the asset loads, and then copying the loaded data to it once it's available.

I created a couple of fiddles with webgpu and webgl to compare. Webgpu only updates 3 times instead of 4 and displays a wrong texture.

Reproduction steps

(see fiddles)

  • Create an empty compressed texture
  • Update it by copying others

Code

See fiddles

Live example

Screenshots

No response

Version

r170

Device

Desktop

Browser

Chrome

OS

Windows

@vlucendo vlucendo changed the title WebGPURenderer: wrong update of compressed texures WebGPURenderer: wrong update of compressed textures Nov 1, 2024
@vlucendo
Copy link
Contributor Author

vlucendo commented Nov 1, 2024

I updated the links to show an example of textures displaying wrong as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants