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

WebGPU resize renderTarget error #30766

Open
Makio64 opened this issue Mar 20, 2025 · 0 comments
Open

WebGPU resize renderTarget error #30766

Makio64 opened this issue Mar 20, 2025 · 0 comments

Comments

@Makio64
Copy link
Contributor

Makio64 commented Mar 20, 2025

Description

I run into :

Destroyed texture [Texture (unlabeled 2430x1488 px, TextureFormat::RGBA8Unorm)] used in a submit.
 - While calling [Queue].Submit([[CommandBuffer from CommandEncoder "renderContext_0"]])
Understand this warningAI
three.webgpu.js:26767 Bindings._update: binding should be available: NodeSampledTexture false Texture Texture true
_update @ three.webgpu.js:26767

Here the setup :

  • Scene A : a particles mesh ( using compute shader ) is render to a renderTarget (rt1)
  • Scene B : a quad using as colorNode texture(rt1.texture) is render via Postprocessing with afterImage pass to a renderTarget rt2
  • Scene C : use rt2 in another quad + other effects for final composition..

All works as expected until I resize rt1 & rt2 then i run into this unexpected error and the resize is not effective.

pipelines :
particles compute -> render particles scene to rt1 -> scene2 using node with texture(rt1.texture) render via postprocessing afterImage to rt2-> final render compositing

Reproduction steps

see above

Code

X

Live example

I'll do it when i have time. but i suspect it's using the texture(rt1.texture) which crash everything.

Screenshots

Image

Version

r175dev

Device

No response

Browser

No response

OS

No response

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