Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-08 | gallium: fix more potential strict aliasing issues | Roland Scheidegger | |
In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5. | |||
2009-12-07 | gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe | Roland Scheidegger | |
use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place. | |||
2009-12-01 | svga: Update for renamed sampler/texture state setters. | Michal Krol | |
2009-11-17 | svga: Add svga driver | Jakob Bornecrantz | |