nir/validate: Only build in debug mode
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Jan 2015 00:11:57 +0000 (16:11 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:24 +0000 (07:20 -0800)
commitdcb1acdea00a8f2c29777ff4078832df9d5b40ce
treedec95ee541856f5d05cb0e874c9ee94abeb830a9
parent347ab2bf245e67f72bc707b69f92c5a5dd0c49b4
nir/validate: Only build in debug mode

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.h
src/glsl/nir/nir_validate.c