i965: Check the INTEL_USE_NIR environment variable once at context creation
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 3 Apr 2015 00:02:43 +0000 (17:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 3 Apr 2015 21:12:49 +0000 (14:12 -0700)
commitbff421332661bfd0f82ab9eee9e4fec9d06ed1a1
tree59eee1a8af4906daeb0fcae2cb365765b54717f8
parentdccc57eaba5e5920a6c151e7abb386a636ebf861
i965: Check the INTEL_USE_NIR environment variable once at context creation

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp