mellinoe / ShaderGen

Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
MIT License
497 stars 56 forks source link

Fixes #60 by adding quotes around parameters. #61

Closed thargy closed 6 years ago

thargy commented 6 years ago

I've tested this by dropping the newly compiled Shader.App.dll into the NuGet cache directly and the error no longer occurs (and HLSL compilation succeeds). There was no automated testing for ShaderGen.App in the existing project so I've not added an automatic test for this fix.

mellinoe commented 6 years ago

Looks good to me. Thanks for the fix!