diff options
author | Brian Paul <[email protected]> | 2008-09-12 11:40:31 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-12 11:40:31 -0600 |
commit | bd34b8a4febb7aadec0545250fd8b6b06ad774e8 (patch) | |
tree | beaa9d1ae9fb1769b2244cebd360c167f261e1a5 /src/gallium/auxiliary/tgsi/tgsi_util.c | |
parent | 73193b7735eca10fd6a3bd7f43cdee72d3976175 (diff) |
gallium: use copy_token() function to avoid type punning/aliasing problems
This fixes parsing errors seen with optimized builds on PPC (which led to crashes).
The memcpy() is heavy-handed, but works. A lighter uint assignment could
be used on x86...
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_util.c')
0 files changed, 0 insertions, 0 deletions