Giovanni Mascellani : tests: Add another vector indexing test.
Alexandre Julliard
julliard at winehq.org
Fri Apr 15 15:11:02 CDT 2022
Module: vkd3d
Branch: master
Commit: 16da0b33000b1af81161991e99f37983eb5c06f9
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=16da0b33000b1af81161991e99f37983eb5c06f9
Author: Giovanni Mascellani <gmascellani at codeweavers.com>
Date: Thu Apr 14 12:52:42 2022 +0200
tests: Add another vector indexing test.
Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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)
More information about the wine-cvs
mailing list