Closed minggo closed 5 years ago
It is strange that, the same GLSL shader can not be converted to metal shader sometimes. The usage of glsl-optimizer codes is here.
I think it is because some parameters are not initialized, so it works sometimes.
it is a memory issue, you can not use the memory that has already been freed at line36 and 38 in ShaderModuleMTL.mm.
Yep, good catch.
It is strange that, the same GLSL shader can not be converted to metal shader sometimes. The usage of glsl-optimizer codes is here.
I think it is because some parameters are not initialized, so it works sometimes.