22 Dec
2021
22 Dec
'21
9:23 a.m.
Hi, On 22/12/21 00:08, Zebediah Figura wrote:
@@ -377,10 +385,15 @@ static struct hlsl_ir_node *copy_propagation_compute_replacement(struct copy_pro if (!node) node = var_def->values[offset + i].node; else if (node != var_def->values[offset + i].node) + { + TRACE("No single source for propagating load from %s[%u-%u].\n", var->name, offset, offset + count); return NULL; + }
That's fine for me, but I guess that usually vkd3d's policy is that if one branch of an "if ... else if ... else" chain has braces, then all of them must have. Or did I misunderstand it? Giovanni.