KStocky / ShaderTestFramework

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

Upgrade to HLSL 202x #85

Closed KStocky closed 4 months ago

KStocky commented 4 months ago

Is your feature request related to a problem? Please describe. HLSL 202x was released and I want to start making use of it.

Describe the solution you'd like I need to upgrade to the new DXC and turn on the compiler switches mentioned in the article and see if everything compiles. If it does then we are happy and we can start making use of the new features e.g. not having to use enable_if in my assert functions.

Describe alternatives you've considered

There is the other point of when I upgrade to HLSL 202x, should I also keep up support for HLSL 2021? Should I make sure that my code compiles and passes all tests for both versions? At this point I don't really think I want to. The whole point of this framework is to move fast and break stuff. Supporting features that are not bleeding edge goes against that.