diff options
author | Jason Ekstrand <[email protected]> | 2020-02-20 15:27:36 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-21 18:48:03 +0000 |
commit | 265e234e234f75cd5c209f76900009f81e2d6aec (patch) | |
tree | 82b397dade114ef93c54a41795423bb315d3d628 /src/compiler/nir/nir_builtin_builder.h | |
parent | f5a8958910f53d924d062cbf024cebe4134f757a (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3897>
Diffstat (limited to 'src/compiler/nir/nir_builtin_builder.h')
-rw-r--r-- | src/compiler/nir/nir_builtin_builder.h | 2 |
1 files changed, 1 insertions, 1 deletions
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" { |