glsl/standalone: Make all standalone contexts have NewProgram set.
authorEmma Anholt <emma@anholt.net>
Wed, 1 Mar 2023 00:12:33 +0000 (16:12 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 22 Mar 2023 22:52:45 +0000 (22:52 +0000)
commit41f51fe815c74c2bcd2611c47e228236c3e827e4
tree09f4e526f4ef1857a31f0762d792f9c6b5dbf6b6
parent9b5326bdc14f3ac2f7b2e029fca22411fce638b6
glsl/standalone: Make all standalone contexts have NewProgram set.

It was in the standalone compiler but not unit tests.  Only the standalone
compiler had done linking and needed it, so far.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21886>
src/compiler/glsl/standalone.cpp
src/compiler/glsl/standalone_scaffolding.cpp