diff options
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.c b/src/mesa/drivers/dri/i965/brw_eu.c index acbf7c0bf25..89091db6c4a 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.c +++ b/src/mesa/drivers/dri/i965/brw_eu.c @@ -173,6 +173,8 @@ void brw_pop_insn_state( struct brw_compile *p ) void brw_init_compile(struct brw_context *brw, struct brw_compile *p, void *mem_ctx) { + memset(p, 0, sizeof(*p)); + p->brw = brw; /* * Set the initial instruction store array size to 1024, if found that |