Re: [Mesa-dev] [PATCH 8/8] i965/surface_state: Silence warning.

2018-01-08 Thread Nanley Chery
On Fri, Dec 15, 2017 at 02:53:35PM -0800, Rafael Antognolli 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_bo would also be set. Make the compiler happy anyway

[Mesa-dev] [PATCH 8/8] i965/surface_state: Silence warning.

2017-12-15 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 --- src/mesa/drivers/dri/i965/brw_wm_surf