On Wed, Jun 11, 2014 at 2:12 PM, Kristian Høgsberg <hoegsb...@gmail.com> wrote: > On Tue, Jun 10, 2014 at 09:57:20PM -0700, Matt Turner wrote: >> From: Kenneth Graunke <kenn...@whitecape.org> >> >> This allows GCC (at least with LTO) to eliminate more unused code, such >> as brw_clip* on Gen6+. > > If we compile with STATIC_GEN, then the if-else ladder in brw_init_state() > turns into just the one case that matters. All other atom arrays are > unreferenced and eliminated (at least if you're not compiling with -O0), so > this patch isn't necessary.
Good call. I'll drop it. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev