microsoft/clc: Handle a null clc logger
authorJesse Natalie <jenatali@microsoft.com>
Thu, 18 Aug 2022 15:01:23 +0000 (08:01 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 20 Aug 2022 22:40:36 +0000 (22:40 +0000)
commit7b60414494bbc973fe65a565aec255c0cea99884
tree37eeb6e7e44fac91aba874e905a355b1206f7d7a
parent163390d762ba45c285d0ccafcbdd68f760d9b640
microsoft/clc: Handle a null clc logger

Fixes: 55b3980e ("microsoft/compiler: Add dxil_logger type and parameter to nir_to_dxil")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7076
Reviewed-by: Michael Tang <tangm@microsoft.com>
Tested-by: Prodea Alexandru-Liviu <liviuprodea@yahoo.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18127>
src/microsoft/clc/clc_compiler.c