nir: remove old assert
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Feb 2018 03:36:09 +0000 (14:36 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Feb 2018 22:31:00 +0000 (09:31 +1100)
commitcdeac002677774b14b78bb234aa082bbc499f933
treefea4fb98f0ebf7c2bba43026053fabe878cd77ca
parent86098696fc980cd0d324d2f2c978a320f0418f38
nir: remove old assert

This was originally intended to make sure the remap location
was not -1. However the code has changed alot since then,
the location is now never set to -1 and we also handle
components meaning this old assert has been doing comparisions
with the pointer to the array of component data.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105183
src/compiler/nir/nir_linking_helpers.c