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

@@ -20,7 +20,7 @@ uniform 1 int -2
uniform 2 int -2
uniform 3 float -3.6
draw quad
todo probe all rgba (0.5, 0.5, 0.5, 0.5)
probe all rgba (0.5, 0.5, 0.5, 0.5)
[pixel shader]