glsl: run validate_ir_tree if GLSL_VALIDATE=1 regardless of the build config
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 Jun 2020 06:37:34 +0000 (02:37 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jul 2020 02:02:06 +0000 (22:02 -0400)
commit8773d58b056e2299c5c1d93543a4cc8512fcccf3
tree6c06aea8f18a8ecc6d1e680d866fdc11521b80ce
parent82caff5bc3612bb7f8498f8c194256276d9bfe7c
glsl: run validate_ir_tree if GLSL_VALIDATE=1 regardless of the build config

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5746>
src/compiler/glsl/ir_validate.cpp