vkd3d-shader/hlsl: Use "false" instead of "0" as a bool immediate.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Giovanni Mascellani 2021-11-17 09:47:25 +01:00 committed by Alexandre Julliard
parent 93a40c1c57
commit f257004caf

View File

@ -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_block *block, void *context)
{ {
struct hlsl_ir_node *instr, *next; 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) LIST_FOR_EACH_ENTRY_SAFE(instr, next, &block->instrs, struct hlsl_ir_node, entry)
{ {