vkd3d-shader/hlsl: Normalize bools when loading from uniforms or vertex input.

This commit is contained in:
Zebediah Figura
2023-04-14 15:51:21 -05:00
committed by Alexandre Julliard
parent 834497d5ac
commit 6e677def71
Notes: Alexandre Julliard 2023-05-01 22:25:00 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/177
5 changed files with 41 additions and 7 deletions

View File

@ -50,4 +50,4 @@ float4 main(struct input i) : sv_target
[test]
draw triangle strip 4
todo probe all rgba (0.0, 2.0, 2.0, 2.0)
probe all rgba (0.0, 2.0, 2.0, 2.0)