path: root/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
diff options
authorPierre-Eric Pelloux-Prayer <>2020-06-25 15:14:01 +0200
committerPierre-Eric Pelloux-Prayer <>2020-07-10 11:57:11 +0200
commit50d20dc055decf43f956601d71572f825c2b2eca (patch)
treeb90df61f9f73e12f6991ee9a09f6bf251bf74407 /src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
parent8da237428c19ff185d8be7c2909a2d74874b646b (diff)
ac/llvm: export ac_init_llvm_once in targets
If a program like mpv uses both (because --vo=gpu) and (because --hwdec=vaapi) then LLVM will be inialized twice. The commit exports the ac_init_llvm_once so there's only one instance of the function. See also 18b12bf5335 ("targets: export radeon winsys_create functions to silence LLVM warning") which implemented this workaround initially. Closes: Reviewed-by: Marek Olšák <> Acked-by: Samuel Pitoiset <> Part-of: <>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp')
0 files changed, 0 insertions, 0 deletions