linzhongwei
linzhongwei
also has error [mvk-error] VK_ERROR_INITIALIZATION_FAILED: Render pipeline compile failed (Error code 3): Fragment input(s) `user(locn1)` mismatching vertex shader output type(s) or not written by vertex shader.
> I tried to change the default sampler count to 1, please check whether this (https://github.com/AdamYuan/SparseVoxelOctree/suites/5794061208/artifacts/193446487) could work. seems to be a syntax error(not match the input and output)
> 感觉像是Spirv-Cross的bug 能设置这几个环境变量再看看程序输出吗 > > ```shell > MVK_CONFIG_LOG_LEVEL=2 > MVK_DEBUG=1 > ``` 没有其他输出,还是我上面给你的错误提示。 lin-pc@lin-pcdeMacBook-Pro bin % echo $MVK_CONFIG_LOG_LEVEL 2 lin-pc@lin-pcdeMacBook-Pro bin % echo $MVK_DEBUG 1 lin-pc@lin-pcdeMacBook-Pro bin % ./SparseVoxelOctree [15:50:20.198]...
I don't think perturbing positions is a good idea, it may failed when some triangles are coplanar(result not we need).
he use seed fill algorithm to spread , this algorithm require model closed.