Signed-off-by: Francisco Casas fcasas@codeweavers.com
April 14, 2022 6:53 AM, "Giovanni Mascellani" gmascellani@codeweavers.com wrote:
Signed-off-by: Giovanni Mascellani gmascellani@codeweavers.com
tests/hlsl-vector-indexing.shader_test | 13 +++++++++++++ 1 file changed, 13 insertions(+)
diff --git a/tests/hlsl-vector-indexing.shader_test b/tests/hlsl-vector-indexing.shader_test index f46377cf..1c964147 100644 --- a/tests/hlsl-vector-indexing.shader_test +++ b/tests/hlsl-vector-indexing.shader_test @@ -12,3 +12,16 @@ float4 main() : SV_TARGET [test] todo draw quad probe all rgba (0.02, 0.245, 0.351, 1.0)
+[pixel shader] +uniform float4 m;
+float4 main() : SV_TARGET +{
- return float4(m[0], m[1], m[1], m[2]);
+}
+[test] +uniform 0 float4 1.0 2.0 3.0 4.0 +todo draw quad
+probe all rgba (1.0, 2.0, 2.0, 3.0)
2.35.2