Giovanni Mascellani : vkd3d-shader/hlsl: Use "false" instead of "0" as a bool immediate.
Alexandre Julliard
julliard at winehq.org
Fri Nov 19 15:39:45 CST 2021
Module: vkd3d
Branch: master
Commit: f257004caf2e25fa7582859e0530f541b02e9a26
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=f257004caf2e25fa7582859e0530f541b02e9a26
Author: Giovanni Mascellani <gmascellani at codeweavers.com>
Date: Wed Nov 17 09:47:25 2021 +0100
vkd3d-shader/hlsl: Use "false" instead of "0" as a bool immediate.
Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/vkd3d-shader/hlsl_codegen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d-shader/hlsl_codegen.c b/libs/vkd3d-shader/hlsl_codegen.c
index f8b977b..f5432d2 100644
--- a/libs/vkd3d-shader/hlsl_codegen.c
+++ b/libs/vkd3d-shader/hlsl_codegen.c
@@ -204,7 +204,7 @@ static bool transform_ir(struct hlsl_ctx *ctx, bool (*func)(struct hlsl_ctx *ctx
struct hlsl_block *block, void *context)
{
struct hlsl_ir_node *instr, *next;
- bool progress = 0;
+ bool progress = false;
LIST_FOR_EACH_ENTRY_SAFE(instr, next, &block->instrs, struct hlsl_ir_node, entry)
{
More information about the wine-cvs
mailing list