Can we get a #pragma strict dx10/11/12?

A common problem when authoring shaders, especially as a team, is programmers will tend to write something like :COLOR instead of :SV_Target.

Could we get some kind of “strict” mode, which throws shader compiler errors when not using a specific DX syntax?

We have something like “control shader compiler settings from the UI” in the backlog - but no ETA yet.
One of those compiler settings is enabling/disabling backwards compatibility for the syntax.

UI would be cool! But having something inside the shader file would be enough for now, if its possible!

Noted :slight_smile: