OSDN Git Service

nir/builtin: Add #include u_math.h to the header
authorNeil Roberts <nroberts@igalia.com>
Fri, 11 Oct 2019 13:57:29 +0000 (15:57 +0200)
committerNeil Roberts <nroberts@igalia.com>
Sat, 12 Oct 2019 07:43:18 +0000 (09:43 +0200)
commit9eaeedd54b8c2bc207360e9ef15d2d7675c972f4
treef39595fb3ab5699aaba04469a1e9e7f3e8c5aaf4
parent2098ae16c8b4e64d0694a28f74a461b69b98a336
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>
src/compiler/nir/nir_builtin_builder.h