intel/compiler: Fix pointer arithmetic when reading shader assembly
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Wed, 2 Sep 2020 10:37:47 +0000 (13:37 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Sep 2020 13:23:14 +0000 (13:23 +0000)
commit87fa645b9438ce7943ae09012f695a7a1bca3eeb
tree6b757d47a48ead70d03128205b59e5d6a5ced9a8
parentc601e730b298c5bdd34bc4335f203d46c5cdf9b3
intel/compiler: Fix pointer arithmetic when reading shader assembly

start_offset is a byte offset.

Fixes: 04a995158084acbd1917b4c7e0f8d381e1c9222d
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6557>
src/intel/compiler/brw_eu.cpp