mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
rusticl: do not warn on empty RUSTICL_DEBUG or RUSTICL_FEATURES
Fixes:b90d1cfbfe("rusticl/platform: add RUSTICL_FEATURES boilerplate") Fixes:ca1e9917a9("rusticl/program: allow dumping compilation logs through RUSTICL_DEBUG") Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26764> (cherry picked from commit382718e0e1)
This commit is contained in:
parent
8d2fa241ae
commit
a23408d57a
2 changed files with 3 additions and 1 deletions
|
|
@ -244,7 +244,7 @@
|
|||
"description": "rusticl: do not warn on empty RUSTICL_DEBUG or RUSTICL_FEATURES",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "b90d1cfbfea9fe40e2ec6d44e788ab27ff213e2a",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ fn load_env() {
|
|||
"clc" => debug.clc = true,
|
||||
"program" => debug.program = true,
|
||||
"sync" => debug.sync_every_event = true,
|
||||
"" => (),
|
||||
_ => eprintln!("Unknown RUSTICL_DEBUG flag found: {}", flag),
|
||||
}
|
||||
}
|
||||
|
|
@ -90,6 +91,7 @@ fn load_env() {
|
|||
match flag {
|
||||
"fp16" => features.fp16 = true,
|
||||
"fp64" => features.fp64 = true,
|
||||
"" => (),
|
||||
_ => eprintln!("Unknown RUSTICL_FEATURES flag found: {}", flag),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue