Francisco Casas (@fcasas) commented about tests/hlsl/refract.shader_test:
+[pixel shader] +uniform float4 r; +uniform float4 n; +uniform float i;
+float4 main() : sv_target +{
- return refract(r, n, i);
+}
+[test] +uniform 0 float4 0.5 -0.1 0.2 0.3 +uniform 4 float4 0.6 0.4 -0.3 1.0 +uniform 8 float4 0.2 0.3 0.4 0.5
We could use a regular `float`. Same for the next `uniform 8` line.