freedreno/ir3: fix old compiler after f6b2e8af742
authorRob Clark <robclark@freedesktop.org>
Wed, 4 Mar 2015 16:36:32 +0000 (11:36 -0500)
committerRob Clark <robclark@freedesktop.org>
Wed, 4 Mar 2015 16:37:58 +0000 (11:37 -0500)
commitb709adf7cca24412a6c1bb813856ca701e534ffd
tree38d0c6a12d37c3364dd545ae902679d149d12815
parent34ff9bc6696f3bb84406850d9bc59dfda4bcf8d6
freedreno/ir3: fix old compiler after f6b2e8af742

If first_driver_param is left as zero (calloc'd struct), the result is
c0 getting clobbered.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_old.c