summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_util.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-12 11:40:31 -0600
committerBrian Paul <[email protected]>2008-09-12 11:40:31 -0600
commitbd34b8a4febb7aadec0545250fd8b6b06ad774e8 (patch)
treebeaa9d1ae9fb1769b2244cebd360c167f261e1a5 /src/gallium/auxiliary/tgsi/tgsi_util.c
parent73193b7735eca10fd6a3bd7f43cdee72d3976175 (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