i965/vec4: Use nir_intrinsic_base in the load_uniform implementation
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 Apr 2016 01:51:50 +0000 (18:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Apr 2016 16:15:01 +0000 (09:15 -0700)
commit9f16e170fed09821bb1b18a9dbe548f3d26b7977
treebc1aa9600f0be836ef70c748cbbab2bda221fcfb
parentf63a95080f240bed9cea3619f4ab43e8dc87292c
i965/vec4: Use nir_intrinsic_base in the load_uniform implementation

We shouldn't be reading the const_index directly

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94998
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95001
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp