Mesa (master): nir: Fix the nir_builder include path for nir_builtin_builder
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Feb 21 19:47:09 UTC 2020
Module: Mesa
Branch: master
Commit: 265e234e234f75cd5c209f76900009f81e2d6aec
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=265e234e234f75cd5c209f76900009f81e2d6aec
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Feb 20 15:27:36 2020 -0600
nir: Fix the nir_builder include path for nir_builtin_builder
Because it's in double-quotes, it will search the current folder before
any search paths. Since nir_builder.h and nir_builtin_builder.h are in
the same folder, this guarantees a correct include. However,
nir/nir_builder.h does not unless the includer's path is set up just
right.
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3897>
---
src/compiler/nir/nir_builtin_builder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/nir/nir_builtin_builder.h b/src/compiler/nir/nir_builtin_builder.h
index 5610d480452..9aa24ef592c 100644
--- a/src/compiler/nir/nir_builtin_builder.h
+++ b/src/compiler/nir/nir_builtin_builder.h
@@ -25,7 +25,7 @@
#define NIR_BUILTIN_BUILDER_H
#include "util/u_math.h"
-#include "nir/nir_builder.h"
+#include "nir_builder.h"
#ifdef __cplusplus
extern "C" {
More information about the mesa-commit
mailing list