On Sat, Nov 23, 2013 at 1:41 PM, Kenneth Graunke <kenn...@whitecape.org> wrote: > The fast tiled texture upload code does not compile with GCC 4.8's -Og > optimization flag. > > memcpy() has the always_inline attribute set. This poses a problem, > since {x,y}tile_copy_faster calls it indirectly via {x,y}tile_copy, > and {x,y}tile_copy normally aren't inlined at -Og. > > Using __attribute__((flatten)) tells GCC to inline every function call > inside the function, which I believe was the author's intent. > > Fix suggested by Alexander Monakov. > > Signed-off-by: Kenneth Graunke <kenn...@whitecape.org> > ---
Reviewed-by: Matt Turner <matts...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev