i965: Clear brw_compile on setup.
authorEric Anholt <eric@anholt.net>
Thu, 30 Aug 2012 23:22:52 +0000 (16:22 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 17 Sep 2012 19:32:51 +0000 (12:32 -0700)
commit3f98ba9c43eabf6f88d15375cfc80ee35c425077
tree4cb48a7bcf2d23f8634a1d4320c954e6a2f8c5ab
parent99f14bc789c7160fdac70ff3ed770a1a2999f797
i965: Clear brw_compile on setup.

I noticed in valgrind that p->single_program_flow was used while
uninitialized.  Everything else zeroed out brw_compile, but this is better
API.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_eu.c