nvir: don't use designated initialisers in C++ code
authorYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Thu, 11 Jun 2020 17:36:26 +0000 (20:36 +0300)
committerYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Mon, 15 Jun 2020 10:29:23 +0000 (13:29 +0300)
commitad0015907005b2994b44759a7fa59a39a8572706
tree96d1995e6f484b548c8c94d948ea4710b12e773b
parent013d096d15bef44594475812a0e5b12b729939bc
nvir: don't use designated initialisers in C++ code

This feature only available since C++20.

Fixes: fa0a241b335 ("nvir/nir: move nir options to codegen")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3114
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5430>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp