On Wed, Jun 11, 2014 at 2:12 PM, Kristian Høgsberg <[email protected]> wrote: > On Tue, Jun 10, 2014 at 09:57:20PM -0700, Matt Turner wrote: >> From: Kenneth Graunke <[email protected]> >> >> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
