[PATCH vkd3d 4/6] vkd3d-shader/hlsl: Allow values different from one in bools.

Zebediah Figura zfigura at codeweavers.com
Thu Mar 24 15:02:05 CDT 2022


On 3/24/22 14:59, Francisco Casas wrote:
> Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
> ---
> 
> But, if I am not mistaken, bool expands to _Bool (because we are including <stdbool.h>).
> And I don't see any point in the program were we may be assigning .b a value that's
> not 0 or 1.
> Given that in C, when an scalar is converted to _Bool, it automatically becomes 0 or 1.
> 

Indeed. This patch is superfluous, then...



More information about the wine-devel mailing list