···35353636void lower_simple(Compiler &);
3737void lower_memory_loads(Compiler &);
3838+3839void analyze_uniformity(Compiler &);
3940void codegen(Compiler &);
4041···121122 inst.meta.phys_reg = cc.shdr.num_user_sgprs + 2;
122123 inst.meta.is_uniform = true;
123124 }
124124-125125- // @todo: handle local_invocation_id.
126126- // There are many ways to do this, but I believe we need to lower it
127127- // into a pack operation of vgpr0,1,2. But I'm not entirely sure.
128128-129129- // @todo: handle global invocation ids.
130125 }
131126}
132127···456451 case gir::Op::LocalInvocationIdX:
457452 case gir::Op::LocalInvocationIdY:
458453 case gir::Op::LocalInvocationIdZ:
459459- case gir::Op::LocalInvocationIndex:
460454 case gir::Op::WorkgroupIdX:
461455 case gir::Op::WorkgroupIdY:
462456 case gir::Op::WorkgroupIdZ: