util: move brw_env_var_as_boolean() to util
authorRob Clark <robclark@freedesktop.org>
Wed, 18 Nov 2015 21:43:31 +0000 (16:43 -0500)
committerRob Clark <robclark@freedesktop.org>
Tue, 24 Nov 2015 15:02:55 +0000 (10:02 -0500)
commitd278e31459374feb18edd97d5adaacccc08f978a
tree39a401065cc3701c7abcd8ae0eeedf7cdd6d8ebd
parentd3e2c48dfa669899484159cf723d8da574996f65
util: move brw_env_var_as_boolean() to util

Kind of a handy function.  And I'll want it available outside of i965
for common nir-pass helpers.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/intel_debug.c
src/mesa/drivers/dri/i965/intel_debug.h
src/util/debug.c
src/util/debug.h