spirv/vtn_cfg.c: Include util/debug.h for env_var_as_boolean.
authororbea <orbea@riseup.net>
Sat, 15 Aug 2020 05:38:56 +0000 (22:38 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sun, 16 Aug 2020 06:27:34 +0000 (06:27 +0000)
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>

src/compiler/spirv/vtn_cfg.c

index 074f61b331e90748c2b9b1b4b98ff553505e3f61..83ca13b734cb3448595852db35fd081846626a15 100644 (file)
@@ -24,6 +24,7 @@
 #include "vtn_private.h"
 #include "spirv_info.h"
 #include "nir/nir_vla.h"
 #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)
 
 static struct vtn_block *
 vtn_block(struct vtn_builder *b, uint32_t value_id)