[Mesa-dev] [PATCH] Fix strict-aliasing violations in GLSL shader list implementation

Michel Dänzer michel at daenzer.net
Tue Jun 23 19:57:42 PDT 2015

On 24.06.2015 11:39, Dave Airlie wrote:
>> Actually, I'm almost 100% certain that there are lots of other strict
>> aliasing violations in the Mesa code. That's why we've always disabled it.
>> More generally, IMO it's unrealistic to rely on strict aliasing for
>> optimization, because very few people really understand it (I'm not one
>> of them).
> I personally think we should get past the, aliasing is hard, lets go shopping,

I'm not saying that. I'm saying we'll keep getting it wrong, which will
cause subtle and very hard to debug problems.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list