You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change clamp templates so they call clamp instead of __builtin_hlsl_elementwise_clamp, to ensure clamp can't be called on 16 bit types in a shader model before 6.2. Add tests to show this
// check we error on 16 bit type if shader model is too old
4
+
// CHECK: '-enable-16bit-types' option requires target HLSL Version >= 2018 and shader model >= 6.2, but HLSL Version is 'hlsl202x' and shader model is '6.0'
0 commit comments