On Mon Mar 6 22:41:36 2023 +0000, Zebediah Figura wrote:
I still don't understand this assertion. The minimum shader model is a property of the HLSL. We want to compile-test it with that version, and then also draw-test it with any backend that can support it. The backend might need to promote it to a higher version, but there should be no reason that the person writing the tests would care.
Reading this again, I think there's some talking past each other going on here?
My vision is: if we have a shader [effect or not] that is capable of being compiled with 2.0, we'd like to
(a) compile-test it with 2.0,
(b) test it with every backend that is capable of handling the shader. For some backends, that may mean implicitly promoting the version to 4.0.
In light of that I don't see why we'd need to specify the version separately in [require] and in the shader header.