i965: avoid anonymous struct in float <-> VF conversions
authorJonathan Gray <jsg@jsg.id.au>
Sat, 29 Nov 2014 08:00:51 +0000 (19:00 +1100)
committerMatt Turner <mattst88@gmail.com>
Tue, 2 Dec 2014 00:13:08 +0000 (16:13 -0800)
commit31a46fb7a5063b7d292acbefb89138ee25b2673e
tree70f3bde98a0aa183d33dd6dea687048d4dea8292
parent991d5cf8ce5c7842801fdb0378bf5aca5a59cc4c
i965: avoid anonymous struct in float <-> VF conversions

Anonymous structures are only supported with newer versions of
GCC.  They will not work with GCC 4.2.1 used by OpenBSD or
GCC 4.4.7 shipped with RHEL6 going by a commit to fix a similiar
problem in radeonsi earlier in the year
(74388dd24bc7fdb9e62ec18096163f5426e03fbf).

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
src/mesa/drivers/dri/i965/brw_packed_float.c