mesa/main: compile ff_fragment_shader as c-code
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 28 Apr 2023 09:21:30 +0000 (11:21 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 May 2023 13:51:19 +0000 (13:51 +0000)
commita0683e243a1fcf5998f1a2538eb616a5649678b3
tree56d4eb4c25b5188ef3a772635b864b6999172a46
parente607a89f22f4148e123dbf46bd8d8ee77d154761
mesa/main: compile ff_fragment_shader as c-code

The reason this used to be C++ code, was because it needed ir_builder.
We no longer need that, so let's move this to C-code instead. This makes
some details a bit more straight-forward.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22755>
src/mesa/main/ff_fragment_shader.c [moved from src/mesa/main/ff_fragment_shader.cpp with 95% similarity]
src/mesa/meson.build