vkensou
vkensou
hi @[ospencer](https://github.com/ospencer) curry and placeholder is great. when could we use it?
我觉得欧拉积分的写法应该是: p+=v*t+0.5*a*t^2 v+=a*t 这样才是匀加速运动
这个也是 http://home.ustc.edu.cn/~ustczt/resources/Utopia/UShaderCompiler_deps_20210608.zip 应该相关文件都过期了
我有一个想法,renderpass/framebuffer/pipeline cache等的管理是否可以移到render graph里?这样cgpu就可以更薄了。cache的Key也可以更灵活。因为在很多语言里数组都只能从堆分配,而renderpass/framebuffer/pipeline等的desc都要涉及到大量的数组,如果把key移出cgpu,那么可能会更灵活,也有潜在的性能提升。
还有请问有cgpu独立出仓库的时间表吗?
> > 还有请问有cgpu独立出仓库的时间表吗? > > 项目要用引擎,最近在花大功夫拆外部依赖做准备,没时间做这个。并且 CGPU 的 API 要引入不少重构,同时适配好 Metal,一些能在 issues 里看到,这个过程会引入很大变化。计划是先独立出一个模块,可以单独构建。 我花了些把cgpu的vulkan部分独立出来了,放在了这里:https://github.com/vkensou/cgpu 请问介意我这个库也叫cgpu吗?如果介意我可以改名。
> Could you? :) > > I will happily accept a PR that fixes stuff, but won't have time/motivation to do it myself any time soon. Sorry, I am a...
希望对windows支持可以更好点。现在的release里也没有windows平台的包可以下载。
看了代码 ``` tb_pointer_t tb_allocator_align_malloc_(tb_allocator_ref_t allocator, tb_size_t size, tb_size_t align __tb_debug_decl__) { // ... tb_byte_t diff = (tb_byte_t)((~(tb_long_t)data) & (align - 1)) + 1; // ... } ``` 是因为这句,计算diff的时候转到u8了,对齐到512的话超出范围了