vkd3d-shader/hlsl: Convert elementwise intrinsics args to the proper common type.

This commit is contained in:
Francisco Casas
2022-11-07 19:05:52 -03:00
committed by Alexandre Julliard
parent 86c35fc79d
commit 9ceed76a9c
Notes: Alexandre Julliard 2023-01-11 22:39:00 +01: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/53
7 changed files with 126 additions and 33 deletions

View File

@@ -25,7 +25,7 @@ todo draw quad
todo probe all rgba (1.0, 32.0, 256.0, 125.0)
[pixel shader fail todo]
[pixel shader fail]
float4 main() : sv_target
{
float2x2 a = {1, 2, 3, 4};