mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
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:
parent
2098ae16c8
commit
9eaeedd54b
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#ifndef NIR_BUILTIN_BUILDER_H
|
||||
#define NIR_BUILTIN_BUILDER_H
|
||||
|
||||
#include "util/u_math.h"
|
||||
#include "nir/nir_builder.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue