Zebediah Figura (@zfigura) commented about tests/hlsl/switch.shader_test:
- }
- return c;
+}
+[test] +uniform 0 uint4 2 0 0 0 +todo draw quad +todo probe all rgba (1.1, 2.1, 3.1, 4.1) +uniform 0 uint4 1 0 0 0 +todo draw quad +todo probe all rgba (1.0, 2.0, 3.0, 4.0)
+% floats are accepted +[pixel shader todo fail(sm>=6)] +uint4 v;
You can make this a little bit stronger by making the selector also float, that proves that they're always converted to uint regardless.