Open k4G17eYWI opened 4 months ago
This seems to be coming from DirectXShaderCompiler when using SV_InstanceID: https://github.com/microsoft/DirectXShaderCompiler/issues/3106 I guess an update to the newest version would fix it. Unfortunately there have been some breaking changes, making the update more difficult.
Just noticed that this bug has already been reported in the Android shader samples repo: https://github.com/cpt-max/MonoGame-Shader-Samples-Mobile/issues/1
I try to compile this shader. It compiles ok when targeting Desktop but fails with an error "BaseInstance not supported in ES profile" on a content pipeline build phase when targeting Android. I've squeezed my shader to only reproduce this issue and here is a squeezed code: