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: clear() - use cached descriptor properties and views were possible #27551

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

aardgoose
Copy link
Contributor

Use components of cached renderPassDescriptor for default (null) render target in clear() operations.

Also remove some now obsolete code now renderContext,stencil is set correctly,

@sunag sunag added this to the r161 milestone Jan 12, 2024
@Mugen87 Mugen87 merged commit c6c81de into mrdoob:dev Jan 15, 2024
11 checks passed
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
…were possible (mrdoob#27551)

* remove redundant code

* use cached descriptor properties for clear()

* remove unused import

---------

Co-authored-by: aardgoose <[email protected]>
@aardgoose aardgoose deleted the webgpu-clear branch January 24, 2024 14:46
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.

3 participants