commit | a76423e481ae0a5ed7726d43700cb0937ac9890b | [log] [tgz] |
---|---|---|
author | orbea <orbea@riseup.net> | Fri Aug 14 22:38:56 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Sun Aug 16 06:27:34 2020 +0000 |
tree | db36cbc4f2752b1ae0b3058a0e438728d6b9b4cd | |
parent | 430e3310e2aed924dc4e0729644e629007d73ef7 [diff] |
spirv/vtn_cfg.c: Include util/debug.h for env_var_as_boolean. Fixes https://gitlab.freedesktop.org/mesa/mesa/-/issues/3414 Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6331>
diff --git a/src/compiler/spirv/vtn_cfg.c b/src/compiler/spirv/vtn_cfg.c index 074f61b..83ca13b 100644 --- a/src/compiler/spirv/vtn_cfg.c +++ b/src/compiler/spirv/vtn_cfg.c
@@ -24,6 +24,7 @@ #include "vtn_private.h" #include "spirv_info.h" #include "nir/nir_vla.h" +#include "util/debug.h" static struct vtn_block * vtn_block(struct vtn_builder *b, uint32_t value_id)