diff options
author | Jason Ekstrand <[email protected]> | 2015-10-20 16:21:09 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-21 14:20:32 -0700 |
commit | 72148de217786473bb2bb02b99f49fd28bdda0e2 (patch) | |
tree | a1439d8e6c445184a89d33fb8d766c2c1811f4c6 /src/mesa/drivers/dri/i965/brw_gs.c | |
parent | 8e8b527b27b5b31f88e85e9878652a11c7fa5ca4 (diff) |
i965/gs: Move the mem_ctx argument to brw_compile_gs
This makes it better match the other brw_compile_* functions.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index 02f506de3b6..ae7f2422e8c 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -303,9 +303,9 @@ brw_codegen_gs_prog(struct brw_context *brw, unsigned program_size; char *error_str; const unsigned *program = - brw_compile_gs(brw->intelScreen->compiler, brw, &c, + brw_compile_gs(brw->intelScreen->compiler, brw, mem_ctx, &c, shader->Program->nir, prog, - mem_ctx, st_index, &program_size, &error_str); + st_index, &program_size, &error_str); if (program == NULL) { ralloc_free(mem_ctx); return false; |