i965: Pass brw_compiler into brw_preprocess_nir() instead of is_scalar.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Apr 2016 22:09:56 +0000 (15:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Apr 2016 01:44:12 +0000 (18:44 -0700)
commitb0dffdc616801a1fd8534502e11ac840369041ab
tree59b47bb73ee655f91b002ccb0d5f3efd556fc371
parent808d26c771541603544444ad5d8794e37e37e379
i965: Pass brw_compiler into brw_preprocess_nir() instead of is_scalar.

I want to be able to read other fields.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_nir.h