i965: Use a union to bitcast a float
authorMatt Turner <mattst88@gmail.com>
Thu, 19 Oct 2017 05:16:05 +0000 (22:16 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 19 Oct 2017 05:16:46 +0000 (22:16 -0700)
commite9796ebca7d2977700ff51ade9193e33368bd4af
tree9ace904f5c03f588122819b61dc9fe1167ea24e6
parent5767ce7d0d1493f3ea9663f98e06012fa3695071
i965: Use a union to bitcast a float

... which does not break C's aliasing rules.
src/mesa/drivers/dri/i965/gen6_constant_state.c