Francisco Casas (@fcasas) commented about tests/hlsl/ceil.shader_test:
+todo draw quad +todo probe all rgba (7.0, 8.0, 0.0, 4.0) 4
+[require] +shader model >= 4.0
+[pixel shader todo] +uniform int4 u;
+float4 main() : sv_target +{
- float a = ceil(u.r);
- int2 b = ceil(u.gb);
- float4 res = float4(b, a, u.a);
- return ceil(res);
+}
This test actually compiles in ps_2_0 and ps_3_0.