Commit Graph

24 Commits

Author SHA1 Message Date
hyde zhou d1369d2ab4 V3.7.3 pipeline (#14772) 2023-04-19 23:23:43 +08:00
Zeqiang Li 01a9081bc6 addRenderWindow for imported texture & fgd raster indicator (#14807) 2023-04-17 14:19:28 +08:00
Zach Lee bfe9d90051 VRS && Compute Shader Support (#14728) 2023-04-10 12:57:35 +08:00
hyde zhou 6ed4719968 pipeline update (#14486)
* adding queue phase

* adding per phase descriptor set

* adding render phase descriptor set

* Optimize memory usage and rendering time of WebPipeline (#106)

* Pass ubo execution optimization (#107)

* adding compute shader

* add compute shader

* add compute dispatch

* add compute shader

* adding subpass

* add dummy web subpass builder

* remove present pass

* remove present pass

* adding subpass to RenderGraph

* fix unit test

* lint fix

* fix lint

* adding raster subpass

* native subpass builder added

* Complete render phase to layoutgraph (#108)

* rename RasterTag to RasterPassTag

* rename ComputePass to Compute

* subpassGraph added

* add shading rate attachment

* fix typo

* RenderSwapchain default constructible

* Optimize Execution Memory (#110)

* add storage buffer/texture support

* add storage buffer and shading rate texture

* fix lint

* fix typo

* V3.7.2 pipeline (#109)

* fix merge conflict

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-03-09 17:57:05 +08:00
hyde zhou 2d9446e7c4 add render phase (#14333) 2023-03-02 00:13:38 +08:00
hyde zhou 3ae4b8c928 fix metal crash problem (#14186)
* deferred custom pipeline running cyberpunk on metal (#92)

* Fix the problem that csm shadowmap does not render the picture (#94)

* remove manual descriptor registration

* fix redundant barrier generated:layout dependency but not access dependency (#93)

* fix redundant barrier generated:layout dependency but not access dependency

* missing part

* Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2"

This reverts commit 3a95b55991b1eed21df8b927213dd78aaa585892, reversing
changes made to be8d52a74b1e8a27599767cdf2b1639c8ecbf11c.

* fix missing descriptor sets

* buffer size (#96)

* Revert "Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2""

This reverts commit 690e121936cae6bce4194d0f67a69636117268b3.

* fix assert

* fgd pass culling logic fix (#97)

* buffer size

* fgd pass culling logic fix

* old unit test

* fix batcher2d

* fix dereference freed pointer

* Bloom pipeline adds ui and deferred pipeline to fix ui rendering problems (#98)

* add native ui rendering

* add skinning constants

* Fix the problem that the deferred pipeline does not render transparent objects and shadows (#99)

* Fix the problem that the profiler does not render (#100)

* fix typo

* update ds logic (#101)

* metal coord (#102)

* refactor profiler

* fix shadow caster bug

* remove unnecessary validation

* disabled over-aligned memory allocation

* add native version

* Optimize the display mode of profiler (#103)

* remove profiler later, generator is not changed yet

* refactoring persistent render pass and framebuffer

* refactored persistent render pass and framebuffer

* format

* revert change

* fix invalid framebuffer bugs

* refactored custom pipeline initialization

* add pipeline statistics

* depth stencil state & attachment validate (#104)

* Revert "depth stencil state & attachment validate (#104)"

This reverts commit c75de8d83295ca387d7f4a7206f411e94ac0a884.

* add default phase comparison

* Revert "add default phase comparison"

This reverts commit 4910790081e961e258db269ceb2542e6ebd13062.

* try fix uniform buffer upload

* generator updated

* lint

* buffer upload command (#105)

* fix lint

---------

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-14 21:21:33 +08:00
Zach Lee 5520694eef fixed transparent pass barrier issue. (#14218) 2023-02-13 18:29:23 +08:00
Zeqiang Li 820703d082 resource states & fgd signal split end barrier (#14207) 2023-02-13 18:27:56 +08:00
hyde zhou 7e9a01f5e2 refactored web profiler and native framebuffer (#14168) 2023-02-08 15:49:06 +08:00
hyde zhou 588a64e277 fix web-pipeline ui in post-processing (#14145) 2023-02-07 16:50:24 +08:00
hyde zhou 97b1c40941 [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 18:04:12 +08:00
hyde zhou 52bccdf738 [pipeline] refactor custom pipeline init (#14040) 2023-02-01 18:00:52 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
hyde zhou df9b49b539 [pipeline] update custom pipeline (#13744) 2022-12-22 19:09:48 +08:00
bofeng-song 834657ca79 refine: cache lodGroup's state and reduce api call of getVisibleLODLevel (#13800)
* refine: cache lodGroup's state and reduce api call of getVisibleLODLevel
2022-12-21 14:33:09 +08:00
hyde zhou d33798f895 [develop] update native pipeline (#13270) 2022-11-11 22:51:31 +08:00
hyde zhou 87cff94d16 [develop] web-pipeline updated (#13158) 2022-11-08 12:48:30 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
hyde zhou 316180b777 [develop] enable native custom pipeline (#13133) 2022-10-25 11:10:14 +08:00
hyde zhou e8366a7a7b [develop] custom pipeline startup refactoring (#12886)
* manually merge bloom, fg culling, native pipeline updates

* fix lint

* camera usage added

* use parent name instead of default & add some phase names

* adding render graph execution

* execute render graph added

* refactoring workflow

* uses interface instead of abstract class

* add setup step

* camera usage added

* adding setup stage

* unify camera get set

* adding ppl setup

* fixed bloom effect

* change descriptor merge

* modify uniform collect as descriptor

* revert

* revert phase

* adding render callback

* update setup workflow

* pipeline builder updated

* refactoring native pipeline setup

* revert jsb

* improve cameraList clear

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: qiuguohua <>
2022-09-27 17:57:21 +08:00
hyde zhou 912ed4edb4 manually merge bloom, fg culling, native pipeline updates (#12837) 2022-09-22 16:21:21 +08:00
hyde zhou f85ca2fe82 [develop pipeline] refactor framegraph code and updated pipeline (#12794) 2022-09-16 18:14:49 +08:00
minggo bd0fcc67c4 move cocos/core/pipeline to cocos/rendering (#12797)
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
hyde zhou cc01929094 [develop pipeline] uses ccstd::hash (#12658) 2022-09-14 18:25:46 +08:00