Re: [Mesa-dev] [PATCH] intel/compiler: Unset flag reg when FB write is not predicated

2019-05-07 Thread Jason Ekstrand
That's a bit gross that we have to do that Oh, well. Reviewed-by: Jason Ekstrand On Mon, Apr 29, 2019 at 6:01 PM Matt Turner wrote: > In the FS IR we pretend that the instruction is predicated with (+f0.1) > just for flag dependency tracking purposes. Since the instruction > doesn't

[Mesa-dev] [PATCH] intel/compiler: Unset flag reg when FB write is not predicated

2019-04-29 Thread Matt Turner
In the FS IR we pretend that the instruction is predicated with (+f0.1) just for flag dependency tracking purposes. Since the instruction doesn't support predication before Haswell, we unset the predicate so we should also unset the flag register so that we can round-trip the disassembly. ---