nir: fix intrinsic builders on MSVC C++
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 27 Nov 2020 09:55:11 +0000 (09:55 +0000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 27 Nov 2020 10:51:54 +0000 (10:51 +0000)
commit7a77008283757d7c548572ef7a66d8d8c6052134
treed2de7ba8693a6438e3057692eb13a528c3f0c948
parent517b6986613e1d80d547ce82f56244c11ad2a1cb
nir: fix intrinsic builders on MSVC C++

Fix this error:
error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: c9bcad25737 ("nir: add generated intrinsic builders")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7808>
src/compiler/nir/nir_builder_opcodes_h.py