nir/builtin: Add #include u_math.h to the header

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>
This commit is contained in:
Neil Roberts
2019-10-11 15:57:29 +02:00
parent 2098ae16c8
commit 9eaeedd54b

View File

@@ -24,6 +24,7 @@
#ifndef NIR_BUILTIN_BUILDER_H
#define NIR_BUILTIN_BUILDER_H
#include "util/u_math.h"
#include "nir/nir_builder.h"
/*