Re: [Mesa-dev] [PATCH v3 11/13] i965/surface_state: Silence warning.

2018-02-27 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Wed, Feb 21, 2018 at 1:45 PM, Rafael Antognolli < rafael.antogno...@intel.com> wrote: > This warning showed up after aux_bo started being used inside > > if (use_clear_address) {... > > But use_clear_address depends on aux_surf being not null, in which case > aux_b

[Mesa-dev] [PATCH v3 11/13] i965/surface_state: Silence warning.

2018-02-21 Thread Rafael Antognolli
This warning showed up after aux_bo started being used inside if (use_clear_address) {... But use_clear_address depends on aux_surf being not null, in which case aux_bo would also be set. Make the compiler happy anyway. Signed-off-by: Rafael Antognolli Reviewed-by: Nanley Chery --- src/mesa/d