This is mostly a resend of an earlier series. After I sent out the original series I noticed that it uncovered a couple pre-existing bugs. Patches 2, 3, and 4 are new, and they address these bugs.
Patches 5 and 6 are also new. These patches prevent nir_opt_peephole_select from removing flow control around indirect loads of uniforms and shader inputs. This by itself would have prevented the discovery of the earlier bugs. Patch 7 has had minor updates to comments. The other patches remain unchanged from the first time I sent them out. The whole series was tested (including shader-db results) on top of a bunch of other patches that I also have out on the list. The combined branch is available at: https://cgit.freedesktop.org/~idr/mesa/log/?h=partial-redundancy-elimination-compares _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev