diff options
author | Jordan Justen <[email protected]> | 2017-10-21 20:55:45 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2017-10-31 23:36:54 -0700 |
commit | 3dcbc5cdaa871f6ad2f123d0eb81f32fbfa7070b (patch) | |
tree | 6137559d5559d21079427054a04939faf46ce7ef /src/intel/blorp/blorp.c | |
parent | 540636045fc4893d19f68f04157ce246a2ccbebe (diff) |
intel/compiler: Remove final_program_size from brw_compile_*
The caller can now use brw_stage_prog_data::program_size which is set
by the brw_compile_* functions.
Cc: Jason Ekstrand <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.c')
-rw-r--r-- | src/intel/blorp/blorp.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/intel/blorp/blorp.c b/src/intel/blorp/blorp.c index 7cc6335f2f6..5faba75b8db 100644 --- a/src/intel/blorp/blorp.c +++ b/src/intel/blorp/blorp.c @@ -162,8 +162,7 @@ blorp_compile_fs(struct blorp_context *blorp, void *mem_ctx, struct nir_shader *nir, struct brw_wm_prog_key *wm_key, bool use_repclear, - struct brw_wm_prog_data *wm_prog_data, - unsigned *program_size) + struct brw_wm_prog_data *wm_prog_data) { const struct brw_compiler *compiler = blorp->compiler; @@ -194,7 +193,7 @@ blorp_compile_fs(struct blorp_context *blorp, void *mem_ctx, const unsigned *program = brw_compile_fs(compiler, blorp->driver_ctx, mem_ctx, wm_key, wm_prog_data, nir, NULL, -1, -1, false, use_repclear, - NULL, program_size, NULL); + NULL, NULL); return program; } @@ -202,8 +201,7 @@ blorp_compile_fs(struct blorp_context *blorp, void *mem_ctx, const unsigned * blorp_compile_vs(struct blorp_context *blorp, void *mem_ctx, struct nir_shader *nir, - struct brw_vs_prog_data *vs_prog_data, - unsigned *program_size) + struct brw_vs_prog_data *vs_prog_data) { const struct brw_compiler *compiler = blorp->compiler; @@ -225,7 +223,7 @@ blorp_compile_vs(struct blorp_context *blorp, void *mem_ctx, const unsigned *program = brw_compile_vs(compiler, blorp->driver_ctx, mem_ctx, &vs_key, vs_prog_data, nir, - false, -1, program_size, NULL); + false, -1, NULL); return program; } |