vkd3d-shader/hlsl: Support implicit casts between component-wise equal types.

This commit is contained in:
Francisco Casas
2022-10-19 13:14:51 -03:00
committed by Alexandre Julliard
parent 1c77811648
commit d21fd584b1
Notes: Alexandre Julliard 2022-10-25 22:39:01 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/35
2 changed files with 56 additions and 41 deletions

View File

@@ -50,8 +50,8 @@ float4 main() : sv_target
[test]
todo draw quad
todo probe all rgba (1.0, 2.0, 3.0, 1.0)
draw quad
probe all rgba (1.0, 2.0, 3.0, 1.0)
[pixel shader fail]
@@ -89,8 +89,8 @@ float4 main() : sv_target
[test]
todo draw quad
todo probe all rgba (5.0, 6.0, 7.0, 8.0)
draw quad
probe all rgba (5.0, 6.0, 7.0, 8.0)
[pixel shader]
@@ -120,8 +120,8 @@ float4 main() : sv_target
}
[test]
todo draw quad
todo probe all rgba (4.0, 4.0, 4.0, 4.0)
draw quad
probe all rgba (4.0, 4.0, 4.0, 4.0)
[pixel shader]
@@ -199,8 +199,8 @@ float4 main() : sv_target
}
[test]
todo draw quad
todo probe all rgba (71.0, 73.0, 73.0, 74.0)
draw quad
probe all rgba (71.0, 73.0, 73.0, 74.0)
[pixel shader fail]