mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Normalize bools when loading from uniforms or vertex input.
This commit is contained in:
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
@@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user