diff options
author | Jason Ekstrand <[email protected]> | 2015-04-16 14:34:04 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-23 14:28:08 -0700 |
commit | d7565b7d65f8203c20735a61b86e9158b8ec4447 (patch) | |
tree | 0673aa24fde1168b719a01e0432604003b4abda4 /src/mesa/drivers/dri/i965/brw_fs_generator.cpp | |
parent | e639a6f68e701f23b977a49c45d646c164991d36 (diff) |
i965: Remove the dependance on brw_context from the generators
Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_generator.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp index d98a40d2fce..2ed0bac6fd9 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp @@ -121,7 +121,7 @@ brw_reg_from_fs_reg(fs_reg *reg) return brw_reg; } -fs_generator::fs_generator(const struct brw_compiler *compiler, +fs_generator::fs_generator(const struct brw_compiler *compiler, void *log_data, void *mem_ctx, const void *key, struct brw_stage_prog_data *prog_data, @@ -130,7 +130,8 @@ fs_generator::fs_generator(const struct brw_compiler *compiler, bool runtime_check_aads_emit, const char *stage_abbrev) - : compiler(compiler), devinfo(compiler->devinfo), key(key), + : compiler(compiler), log_data(log_data), + devinfo(compiler->devinfo), key(key), prog_data(prog_data), prog(prog), promoted_constants(promoted_constants), runtime_check_aads_emit(runtime_check_aads_emit), debug_flag(false), |