LukasBanana / XShaderCompiler

Shader cross compiler to translate HLSL (Shader Model 4 and 5) to GLSL
BSD 3-Clause "New" or "Revised" License
351 stars 48 forks source link

More support for older versions #97

Closed mlomb closed 5 years ago

LukasBanana commented 5 years ago

Thanks for the patches. I'll make a modification to your LiteralExpr changes though. Apparently ESSL 100 doesn't support literal suffixes at all, neither for floats nor integers.

LukasBanana commented 5 years ago

@mlomb I made some adjustments to your GLSL120 and ESSL100 output in eedb192. I think you had a typo in the texture2DProj and texture2DLod intrinsics.