On Tue, Jun 30, 2020 at 1:56 AM Zebediah Figura
<z.figura12(a)gmail.com> wrote:
+{
+ struct hlsl_ir_node *instr, *next;
+ BOOL progress = 0;
+
+ LIST_FOR_EACH_ENTRY_SAFE(instr, next, instrs, struct hlsl_ir_node, entry)
+ {
+ if (instr->type == HLSL_IR_IF)
+ {
+ struct hlsl_ir_if *iff = if_from_node(instr);
+ progress |= transform_ir(func, iff->then_instrs);
+ if (iff->else_instrs)
+ progress |= transform_ir(func, iff->else_instrs);
+ }
I like to have a blank line between declarations and other statements.