Doesn't specify MTLTextureUsageShaderWrite (0x02)
Opened this issue · 1 comments
matrix01 commented
Compute Function(illuminationMapForLIME): writes texture (inTexture[0]) whose usage (0x01) doesn't specify MTLTextureUsageShaderWrite (0x02)'
Xcode ver: 10.2.1
l0stpenguin commented
@UncleJerry i also get this issue when trying the LIME feature on my device. Any solution for it?
I tried adding the usage to every MTLTextureDescriptor
but it still did not work and keeps crashing:
descriptor.usage = [.shaderRead, .shaderWrite]