You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the HLSL bindings in a Unity compute shaders it gives loads of errors. They are all "Cannot apply binary operator '+' on types 'FNLfloat' and 'FNLfloat'" or "Cannot apply binary operator '>=' on types 'FNLfloat' and 'int'" or similar. Do you know a way to fix this?
The text was updated successfully, but these errors were encountered:
MarcusElg
changed the title
HLSL Bindings don
HLSL Bindings don't work for Unity compute shaders
Jun 18, 2022
Replacing all occurences of FNLfloat with float solved the issue which is really strange, as the typedef should make them be basically the same thing 🤔
When trying to use the HLSL bindings in a Unity compute shaders it gives loads of errors. They are all "Cannot apply binary operator '+' on types 'FNLfloat' and 'FNLfloat'" or "Cannot apply binary operator '>=' on types 'FNLfloat' and 'int'" or similar. Do you know a way to fix this?
The text was updated successfully, but these errors were encountered: