KStocky / ShaderTestFramework

An automation testing framework for testing shader code
MIT License
20 stars 1 forks source link

Investigate if string validity can be SFINAEs on #70

Closed KStocky closed 1 month ago

KStocky commented 2 months ago

It would be quite cool if we could have a compile time check to see if we can actually handle strings rather than just disabling them through the use of a define. It would make working with edit and continue much easier since you wouldn't have to keep changing the value of the define to enable or disable them. I am 90% this is not possible however because the compilation doesn't fail early on. It appears to fail at a future validation step in the compilation. Still though it is worth verifying this.