Re: [Mesa-dev] [PATCH] i965: fix compiler error in union initiliazer

2014-08-14 Thread Matt Turner
Thanks! I wonder if the gcc versions these extensions are available in are documented somewhere. Reviewed-by: Matt Turner Feel free to just push this immediately. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mai

[Mesa-dev] [PATCH] i965: fix compiler error in union initiliazer

2014-08-14 Thread Pekka Paalanen
From: Pekka Paalanen gcc 4.6.3 chokes with the following error: brw_vec4.cpp: In member function 'int brw::vec4_visitor::setup_uniforms(int)': brw_vec4.cpp:1496:37: error: expected primary-expression before '.' token Apparently C++ does not do named initializers for unions, except maybe as a gc