diff options
author | Matt Turner <[email protected]> | 2015-06-22 11:42:15 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-06-23 12:24:42 -0700 |
commit | ae097580ac49fbfaf184c89c68cb42b755f62939 (patch) | |
tree | bc3bddfc1834e31fc9c5108eb5bc7728248e31ad /src/mesa/drivers/dri/i965/brw_shader.h | |
parent | d8eeb4917ca39a0698731f64933c85a7c44e9247 (diff) |
i965: Initialize backend_shader::mem_ctx in its constructor.
We were initializing it in each subclasses' constructors for some
reason.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h index da01d2f7185..e64774901bc 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.h +++ b/src/mesa/drivers/dri/i965/brw_shader.h @@ -215,6 +215,7 @@ class backend_shader { protected: backend_shader(struct brw_context *brw, + void *mem_ctx, struct gl_shader_program *shader_prog, struct gl_program *prog, struct brw_stage_prog_data *stage_prog_data, |