diff options
author | Kenneth Graunke <[email protected]> | 2014-05-14 00:41:41 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-05-18 23:35:20 -0700 |
commit | cca6dc9f0fd43db366730d67baae1affdca8c6de (patch) | |
tree | 64b4fa5319d96634ea3a1f8461fd9a837d5364bd /src/mesa/drivers/dri/i965/brw_wm.c | |
parent | 2d4ac9b5b825b745257e935dd9b33a2d3507c72a (diff) |
i965/fs: Rip struct brw_wm_compile out of the visitors and generators.
Instead, just pass the key and prog_data as separate parameters.
This moves it up a level - one step further toward getting rid of it.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index 780c78f628a..1664b18b0ee 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -181,7 +181,8 @@ bool do_wm_prog(struct brw_context *brw, c->key.persample_shading, &fp->program); - program = brw_wm_fs_emit(brw, mem_ctx, c, &fp->program, prog, &program_size); + program = brw_wm_fs_emit(brw, mem_ctx, &c->key, &c->prog_data, + &fp->program, prog, &program_size); if (program == NULL) { ralloc_free(mem_ctx); return false; |