i965: Fix offset addition in get_isl_surf.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Jul 2017 17:16:16 +0000 (10:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 26 Jul 2017 05:14:21 +0000 (22:14 -0700)
commitf6e674fa5164a957e93e8dc1334a48c9e7ee7df9
tree7ce548fb6de8187817a6ec7d775b1c16cdc52549
parent7b48163d7c1e30fc2874177b29a3f37cb13ea584
i965: Fix offset addition in get_isl_surf.

Increase the value, not the pointer to the stack variable.

Caught by Coverity (CID 1415574).  Not shipped in a real release.

Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c