nir: Make nir_const_value a union

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 26 May 2016 18:03 UTC

There's no good reason for it to be a struct of an anonymous union.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96221

15e553d nir: Make nir_const_value a union
src/compiler/nir/nir.h | 16 +++++++---------
src/compiler/nir/nir_constant_expressions.py | 2 +-
2 files changed, 8 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share