i965/nir: Make our environment variable checking smarter

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 18 March 2015 18:40 UTC

Before, we enabled NIR if you set INTEL_USE_NIR to anything which mean that INTEL_USE_NIR=false would actually turn on NIR. In preparation for turning NIR on by default, this commit makes it smarter by allowing the INTEL_USE_NIR variable to work as either a force-enable or a force-disable.

e1f3dde i965/nir: Make our environment variable checking smarter
src/mesa/drivers/dri/i965/brw_fs.cpp | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share