diff options
author | Kenneth Graunke <[email protected]> | 2018-02-26 16:34:55 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-03-02 14:20:22 -0800 |
commit | 9fa95359df54f8de8219731e55d89abe816a43e8 (patch) | |
tree | 674ed3dfef5cd381adefc81636aa2a805f291b2c /src/intel/compiler/brw_fs.cpp | |
parent | b04cf529f2e7bab6be22410d4be293aa5e650b03 (diff) |
intel: Drop program size pointer from vec4/fs assembly getters.
These days, we're just passing a pointer to a prog_data field, which
we already have access to. We can just use it directly.
(In the past, it was a pointer to a separate value.)
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index b1e1d98f6e6..fc4cfbfb0be 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -6958,7 +6958,7 @@ brw_compile_fs(const struct brw_compiler *compiler, void *log_data, prog_data->reg_blocks_0 = brw_register_blocks(simd16_grf_used); } - return g.get_assembly(&prog_data->base.program_size); + return g.get_assembly(); } fs_reg * @@ -7181,7 +7181,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data, g.generate_code(cfg, prog_data->simd_size); - ret = g.get_assembly(&prog_data->base.program_size); + ret = g.get_assembly(); } delete v8; |