broadcom/vc4: Fix aliasing issue
authorStefan Schake <stschake@gmail.com>
Fri, 20 Oct 2017 14:16:44 +0000 (16:16 +0200)
committerEric Anholt <eric@anholt.net>
Sat, 21 Oct 2017 00:09:35 +0000 (17:09 -0700)
commite5fea0d621af2b14cf6c5e364eeaf293db460f2a
tree65f16db5dbe9ecf390f924dcef2f276478ac447d
parent035ec7a2bb2d5e413ac945b8f012185a0e187d5e
broadcom/vc4: Fix aliasing issue

This was causing Android clang version 3.8.256229 to miscompile,
presumably due to strict aliasing.

Fixes: 14dc281c1332 ("vc4: Enforce one-uniform-per-instruction after optimization.")
src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c