rusticl/platform: extract env variable parsing from Platform::init
authorKarol Herbst <kherbst@redhat.com>
Mon, 24 Apr 2023 11:06:01 +0000 (13:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Apr 2023 04:27:57 +0000 (04:27 +0000)
commit389a199993e0c20306a3fb343724bfbf00a278cb
tree16b89872f8201d8cef12d15213cf8307dd618566
parent2283e9d155c6ed665d667dbd2e69477eace11162
rusticl/platform: extract env variable parsing from Platform::init

In our platform initialization code we might want to access the parsed env
variables already. So do this in separate steps.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22649>
src/gallium/frontends/rusticl/api/program.rs
src/gallium/frontends/rusticl/core/platform.rs
src/gallium/frontends/rusticl/core/program.rs