nir: replace magic numbers with M_PI
authorKarol Herbst <kherbst@redhat.com>
Mon, 4 Mar 2019 18:11:12 +0000 (19:11 +0100)
committerKarol Herbst <kherbst@redhat.com>
Tue, 5 Mar 2019 21:28:29 +0000 (22:28 +0100)
commit5d48359a2c5670d55f24e91229f59efc6368dcba
treefb4f34e0baa2563050c4418b0baaf90b6034e093
parent69cc6272fbc1991d83b9e739acf5d464e8e905c6
nir: replace magic numbers with M_PI

we define it inside 'include/c99_math.h' so it is safe to use.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_builtin_builder.h