projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2098ae1
)
nir/builtin: Add #include u_math.h to the header
author
Neil Roberts
<nroberts@igalia.com>
Fri, 11 Oct 2019 13:57:29 +0000
(15:57 +0200)
committer
Neil Roberts
<nroberts@igalia.com>
Sat, 12 Oct 2019 07:43:18 +0000
(09:43 +0200)
The inline functions use M_PI so they should include a header to make
sure it is defined.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/compiler/nir/nir_builtin_builder.h
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_builtin_builder.h
b/src/compiler/nir/nir_builtin_builder.h
index 519938f8bfeda5aeae1fece763420453416d32c0..22115ada2412aa0680f17fafb45da682f159b317 100644
(file)
--- a/
src/compiler/nir/nir_builtin_builder.h
+++ b/
src/compiler/nir/nir_builtin_builder.h
@@
-24,6
+24,7
@@
#ifndef NIR_BUILTIN_BUILDER_H
#define NIR_BUILTIN_BUILDER_H
+#include "util/u_math.h"
#include "nir/nir_builder.h"
/*