glsl/standalone: Pull program create/destroy out to a public function.
authorEmma Anholt <emma@anholt.net>
Tue, 28 Feb 2023 23:37:14 +0000 (15:37 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 22 Mar 2023 22:52:45 +0000 (22:52 +0000)
commit1c476098880a8fa54a7b32a20eb2a80538661404
treed2771717dc93e7dabea869ee7bcf4414f21057c7
parent79ac6197a994efaee352354730d0302df09bfa78
glsl/standalone: Pull program create/destroy out to a public function.

For reuse with unit tests.

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
src/compiler/glsl/standalone_scaffolding.h