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

Fix the display of WebGPU under the new pipeline with CSM, resolve the conflict between binding and render attachment, and optimize the memory pool. #17562

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

GengineJS
Copy link
Contributor

@GengineJS GengineJS commented Aug 20, 2024

Greptile Summary

This pull request introduces significant changes to the rendering pipeline execution and resource management in the GengineJS/engine repository. Here's a summary of the key modifications:

  1. Optimized texture and sampler binding in the updatePerPassUBO function to reduce unnecessary bindings and improve performance.

  2. Introduced a new RenderPassLayoutInfo class to better manage render pass layouts and their associated resources.

  3. Refactored DeviceRenderPass and DeviceComputePass classes to improve handling of WebGPU under the new pipeline with Cascaded Shadow Maps (CSM).

  4. Updated the ExecutorPools class to optimize memory usage and resource management.

  5. Implemented changes to resolve conflicts between binding and render attachment, potentially improving rendering stability and efficiency.

These modifications aim to enhance the overall performance and compatibility of the engine, particularly for WebGPU rendering with the new pipeline and CSM implementation.

…e conflict between binding and render attachment, and optimize the memory pool.
@GengineJS GengineJS requested a review from star-e August 20, 2024 09:55
Copy link

Interface Check Report

This pull request does not change any public interfaces !

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

LGTM

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@star-e star-e merged commit 3dfdc02 into cocos:v3.8.4 Aug 20, 2024
11 checks passed
star-e added a commit to star-e/cocos-engine that referenced this pull request Aug 21, 2024
…solve the conflict between binding and render attachment, and optimize the memory pool. (cocos#17562)"

This reverts commit 3dfdc02.
star-e added a commit that referenced this pull request Aug 21, 2024
…solve the conflict between binding and render attachment, and optimize the memory pool. (#17562)" (#17566)

This reverts commit 3dfdc02.
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