Commit Graph

19714 Commits

Author SHA1 Message Date
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
Santy-Wang 4ead8feb58 Don't export interface in namespace for now (#14233)
* Don't export interface for now

* add comments
2023-02-14 18:49:04 +08:00
Cocos Robot f5dc002419 [ci skip][AUTO]: Automated code generating update: 52a7b7f96956c6a81d893f3bc17135189b7bfa2f (#14218) (#14222)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-14 11:01:51 +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
Zeqiang Li 7f9934e901 pipeline object gc binding (#14190) 2023-02-09 17:54:45 +08:00
qiuguohua aa5ea200c5 Mac platform adds pointerlock function (#14187) 2023-02-09 17:52:02 +08:00
Zeqiang Li 4d984a1490 mtl depth clear issue: default initialization/cast of obj-c struct MTLViewPort seems not(un)defined (#14184) 2023-02-09 15:49:15 +08:00
hyde zhou a6f5c2ef5e refactored custom-pipeline initialization (#14176) 2023-02-08 16:23:11 +08:00
hyde zhou 7e9a01f5e2 refactored web profiler and native framebuffer (#14168) 2023-02-08 15:49:06 +08:00
黄森斌 f143e7e9c7 release more params of fbx mesh optimizer (#14123) 2023-02-08 10:33:59 +08:00
hyde zhou 2c5ac16213 disable over-aligned memory allocation (#14164) 2023-02-07 17:58:38 +08:00
hyde zhou 588a64e277 fix web-pipeline ui in post-processing (#14145) 2023-02-07 16:50:24 +08:00
MoHai cc300827d5 [v3.7.1] update external to v3.7.1-2 (#14158)
* add stop interface to fix ar session error

* move armodule to .a lib and adjust interfaces

* fix parameter widthInMeters errror

* update external to v3.7.1-1

* upgrade external for ar ios lib fix
2023-02-07 16:05:50 +08:00
Cocos Robot 3b2cb5e6e9 [ci skip][AUTO]: Automated code generating update: b06037a75dcfd59261956311533c5180674dad1b (#14143) (#14148)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-05 13:40:12 +08:00
MoHai 2a194a2732 [v3.7.1] adjust ARModule (#14143)
* add stop interface to fix ar session error

* move armodule to .a lib and adjust interfaces

* fix parameter widthInMeters errror

* update external to v3.7.1-1
2023-02-05 13:34:39 +08:00
hyde zhou 2186f0ef15 fix audio dereference freed pointer (#14144) 2023-02-03 19:00:14 +08:00
hyde zhou 848f5e4ac4 fix batch2d init bug (#14140) 2023-02-03 17:58:43 +08:00
hyde zhou 5abd56ac2f remove manual descriptor registration (#14136)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-03 15:17:32 +08:00
hyde zhou bfe9c44fdd fix web csm, barrier generation, metal buffer/descriptor upload (#14125)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-03 10:50:53 +08:00
hyde zhou e2facf5f2f fix isspace not found (#14132) 2023-02-02 17:28:49 +08:00
oahc09 d4eb7ea881 fix:xr video player bug (#14121)
* fix:xr video player compatibility on some devices
shader compile error

* fix:release video player framebuffer
2023-02-02 13:36:32 +08:00
Cocos Robot b26d1bda2a [ci skip][AUTO]: Automated code generating update: 7d74337f4e0c51aa99555a9927d4caf622ead63d (#14122) (#14124)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-02 10:51:45 +08:00
bofeng-song 48b5e9ba8e Fix the lod that does not work properly when forced to use certain levels (#14055) 2023-02-02 10:26:51 +08:00
bofeng-song 2edfc2580c Repair the problem of unsynchronized model data when adding lod levels dynamically (#14054) 2023-02-02 10:26:46 +08:00
Myway 5b173c201b fix shader compilation error with new version of lightmap (#14071) 2023-02-01 22:42:10 +08:00
jk20012001 5783331dc2 fix shadowmap lowp with huawei and reflection probe brightness (#14058) 2023-02-01 22:42:00 +08:00
pandamicro c1340b53f2 Temporal fix for native pipeline (#14122) 2023-02-01 19:02:51 +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 ed20cd5ab4 [pipeline] enable custom pipeline in editor (#14084)
* enable custom pipeline in editor

* always enable in runtime
2023-02-01 18:03:46 +08:00
zhangxin 7cefc84fc9 [Optimize] add image asset's zh i18n (#14108)
* add image asset's zh i18n

* Update assets.js
2023-02-01 18:02:27 +08:00
pandamicro 5316e44844 Improve camera API doc and fix some range declarations (#14088)
* Improve API doc for camera

* Improve inspector range declarations

* Fix typo
2023-02-01 18:01:59 +08:00
zhakesi 51112d5d9d fix tween api docs (#14079) 2023-02-01 18:01:41 +08:00
hyde zhou aeb7b4cfa6 disable custom pipeline in editor (#14077) 2023-02-01 18:01:32 +08:00
hyde zhou 52bccdf738 [pipeline] refactor custom pipeline init (#14040) 2023-02-01 18:00:52 +08:00
Santy-Wang 75ba0aa8d5 add more api docs (#13937)
* print the engine version

* refine docs

* refine docs

* refine docs

* add more docs

* fix some error

* add pipeline and task docs

* refine

* refine

* fix d.ts error

* refine and add uuid getter

* fix syntax

* refine link
2023-02-01 17:51:30 +08:00
江战 8e5bb39fd3 Bugfix: unwrap proxy object (#14060)
* fix unwrap proxy object

* CI: linter, run apt in early stage
2023-01-13 14:43:24 +08:00
Ling Zhan 2587df95b9 [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398 (#14048)
* [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398

* tweaks

* tweak

* add HALF_PI, TWO_PI

* toEulerAngle-->toEulerInYXZOrder
2023-01-12 09:58:54 +08:00
江战 2362df28a4 Bugfix: revert native preview node._addComponentAt (#14033) 2023-01-10 11:47:31 +08:00
徐兵 5160b42ffd fix reflection probe error (#14027) 2023-01-09 21:06:16 +08:00
王凯鹏 cc3182c728 fix : no apply prefab id in editor mode (#14022) 2023-01-07 15:54:42 +08:00
hyde zhou e11bdf5775 [pipeline] update custom pipeline (#14002) 2023-01-07 12:30:44 +08:00
PP 3a9d9a547f fix: decorated property without default value (#14016)
* fix: decorated property without default value

* update

* update

* update  test

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* close warning

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
2023-01-06 18:47:53 +08:00
mmyduckx e8c214b5af fix windows launch slow when remote load resource (#14015) 2023-01-06 15:38:17 +08:00
bofeng-song fb2d7136f2 Fix lod can't be displayed properly on vulkan backend (#14013) 2023-01-06 13:44:55 +08:00
PP 97552fe096 cherry-pick: fix imageAsset data for taobao (#13399) (#14012) 2023-01-06 11:15:34 +08:00
江战 0118377d30 fix node-polyfill (#14009) 2023-01-05 19:31:55 +08:00
pandamicro 5db99d84b4 Remove mistaken license (#14010) 2023-01-05 19:29:08 +08:00
江战 c929b75692 Fix array proxy object convertion (#14005) 2023-01-05 19:25:33 +08:00
Cocos Robot d0f598319d [ci skip][AUTO]: Automated code generating update: 5769ebfaf47499f4894c703d3ab53d1fd0af9d41 (#14000) (#14001)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-01-05 10:49:26 +08:00