Skip to content

Conversation

@hana-alice
Copy link

对于fbf: 没事了里边input参数声明[color[n]]就可以了;
对于read&write同一个texture: 需要spirv编译的时候加入一些配置触发声明为texture<read_write>,也是可行的;

对于fbf+同时读写,ios跑起来并没有问题,m1下出现了闪烁,看效果像是是某些tile读写并没有完全按照shader顺序先读后写,现阶段所有资源都没有采用MTLHeap所以不需要加资源fence。
Screen Shot 2022-01-14 at 9 42 41 AM

@hana-alice
Copy link
Author

@minggo minggo requested a review from YunHsiao January 14, 2022 02:38
@minggo minggo merged commit aab9d36 into cocos:v3.4.1 Jan 14, 2022
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.

4 participants