24 Jun
2022
24 Jun
'22
5:25 a.m.
On 6/23/22 02:31, Giovanni Mascellani wrote:
+[pixel shader] +uniform float x; +uniform float y; + +float4 main() : SV_TARGET +{ + return dot(x, y); +} + +[test] +uniform 0 float4 2.0 3.0 0.0 0.0 +todo draw quad +probe all rgba (6.0, 6.0, 6.0, 6.0)
This one breaks on d3d9, since the uniform layout is different for sm1.