summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-05-14 01:21:02 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-05-18 23:35:20 -0700
commit2d4ac9b5b825b745257e935dd9b33a2d3507c72a (patch)
treeef86749c223d439b995859bc00efc3590405ca9d /src/mesa/drivers/dri/i965/brw_wm.h
parent25f8fbbf2fc74470f7edce7cae25453a3edbdfe0 (diff)
downloadexternal_mesa3d-2d4ac9b5b825b745257e935dd9b33a2d3507c72a.zip
external_mesa3d-2d4ac9b5b825b745257e935dd9b33a2d3507c72a.tar.gz
external_mesa3d-2d4ac9b5b825b745257e935dd9b33a2d3507c72a.tar.bz2
i965/fs: Plumb a mem_ctx all the way through the FS compile.
'c' is going away, but we still need a memory context that lives for the duration of the compile. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index 5721d6f..dd57a97 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -91,6 +91,7 @@ struct brw_wm_compile {
* Returns the final assembly and the program's size.
*/
const unsigned *brw_wm_fs_emit(struct brw_context *brw,
+ void *mem_ctx,
struct brw_wm_compile *c,
struct gl_fragment_program *fp,
struct gl_shader_program *prog,