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:
@@ -24,6 +24,7 @@
|
|||||||
#ifndef NIR_BUILTIN_BUILDER_H
|
#ifndef NIR_BUILTIN_BUILDER_H
|
||||||
#define NIR_BUILTIN_BUILDER_H
|
#define NIR_BUILTIN_BUILDER_H
|
||||||
|
|
||||||
|
#include "util/u_math.h"
|
||||||
#include "nir/nir_builder.h"
|
#include "nir/nir_builder.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user