diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-22 13:52:30 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-26 14:55:22 -0700 |
commit | 659400cba371ec102c568e34b9f5feb00debf4c1 (patch) | |
tree | 024ed2158dddf96d50aecf4d735146c24d4c4c05 /src/mesa/drivers/dri | |
parent | 2dda4ff014aba08df484cce94621c7844d4e4ee8 (diff) | |
download | external_mesa3d-659400cba371ec102c568e34b9f5feb00debf4c1.zip external_mesa3d-659400cba371ec102c568e34b9f5feb00debf4c1.tar.gz external_mesa3d-659400cba371ec102c568e34b9f5feb00debf4c1.tar.bz2 |
i965/blorp: Remove the arguments to brw_blorp_params()
No one was using anything other than the defaults.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.cpp | 10 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.h | 4 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp index 01f77e1..068650c 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp @@ -155,9 +155,7 @@ brw_blorp_surface_info::compute_tile_offsets(uint32_t *tile_x, } -brw_blorp_params::brw_blorp_params(unsigned num_varyings, - unsigned num_draw_buffers, - unsigned num_layers) +brw_blorp_params::brw_blorp_params() : x0(0), y0(0), x1(0), @@ -165,9 +163,9 @@ brw_blorp_params::brw_blorp_params(unsigned num_varyings, depth_format(0), hiz_op(GEN6_HIZ_OP_NONE), fast_clear_op(0), - num_varyings(num_varyings), - num_draw_buffers(num_draw_buffers), - num_layers(num_layers), + num_varyings(0), + num_draw_buffers(1), + num_layers(1), wm_prog_kernel(0), wm_prog_data(NULL) { diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index 2b716c8..8117f0e 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -232,9 +232,7 @@ struct brw_blorp_prog_data class brw_blorp_params { public: - brw_blorp_params(unsigned num_varyings = 0, - unsigned num_draw_buffers = 1, - unsigned num_layers = 1); + brw_blorp_params(); uint32_t x0; uint32_t y0; |