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

Custom Pipeline #16466

Closed
whaqzhzd opened this issue Nov 4, 2023 · 4 comments
Closed

Custom Pipeline #16466

whaqzhzd opened this issue Nov 4, 2023 · 4 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team
Milestone

Comments

@whaqzhzd
Copy link
Contributor

whaqzhzd commented Nov 4, 2023

Cocos Creator version

3.8.1

System information

ALL

Issue description

Now when starting the 3.8.1 custom pipelines one after another, the data of each item has improved too significantly compared to the built-in pipelines.

When using the built-in pipelines, the profile data is as follows:
image

When we enable the Custom pipelines, the data of each item is as follows:
image

The pipeline settings are as follows, no post-processing has been enabled yet.
image

I have reported this issue on the 3.8.0 forum before. At that time, after optimization, the situation was alleviated to some extent. But when I updated to 3.8.1, this problem occurred again.

The related 3.8.0 forum post is as follows:
https://forum.cocos.org/t/topic/149932/386?u=544430497

Relevant error log output

No response

Steps to reproduce

Minimal reproduction project

No response

@whaqzhzd whaqzhzd added Bug Needs Triage Needs to be assigned by the team labels Nov 4, 2023
@star-e star-e added this to the 3.8.4 milestone Apr 16, 2024
@whaqzhzd
Copy link
Contributor Author

I have learned that version 3.8.4 will designate the new pipeline as the default, and it appears that the issue has been resolved. Is the performance of the new default pipeline superior to that of the classic pipeline, particularly on devices with limited capabilities such as iOS and WeChat games? This is a crucial consideration for game engines.

@star-e
Copy link
Contributor

star-e commented Aug 22, 2024

We will continue to improve the performance of the builtin-pipeline, currently it should be on a par with the legacy-pipeline.

We have done some optimizations compared with the legacy-pipeline.

  1. The new builtin-pipeline will discard depth-stencil buffer by default, which might imply better performance on mobile platform.
  2. We have supported MSAA on all native platforms, and utilized on-chip memory on mobile platforms. So it will have better image-quality with relatively low performance cost (it might be free on some hardware).

The new builtin-pipeline also inherited several post-process features from the previous version. These features are optimized and redundant draw calls are totally removed.

@whaqzhzd
Copy link
Contributor Author

I can't wait!

@star-e
Copy link
Contributor

star-e commented Oct 24, 2024

According to our performance test cases, the issue should have been solved in 3.8.4.

@star-e star-e closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants