microsoft/compiler: Add dxil_logger type and parameter to nir_to_dxil
authorMichael Tang <tangm@microsoft.com>
Fri, 8 Oct 2021 22:23:35 +0000 (15:23 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 11 Aug 2022 16:17:46 +0000 (16:17 +0000)
commit55b3980e789e8391458b2a5cdf05d5849f2b6872
tree776855edb71180b9159255719477a57a3e96317b
parent58bf84044bbad292057bdc95c13bb030b57eb7c5
microsoft/compiler: Add dxil_logger type and parameter to nir_to_dxil

v2 (jenatali): Add a default logger which aborts via unreachable,
and use NULL from GL/Vulkan to use the default logger.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12510>
src/gallium/drivers/d3d12/d3d12_compiler.cpp
src/microsoft/clc/clc_compiler.c
src/microsoft/compiler/nir_to_dxil.c
src/microsoft/compiler/nir_to_dxil.h
src/microsoft/spirv_to_dxil/spirv2dxil.c
src/microsoft/spirv_to_dxil/spirv_to_dxil.c
src/microsoft/spirv_to_dxil/spirv_to_dxil.h
src/microsoft/vulkan/dzn_meta.c
src/microsoft/vulkan/dzn_pipeline.c