Skip to content

d3d12: fix return-code without dxcompiler.dll

Erik Faye-Lund requested to merge kusma/mesa:d3d12-validation-bugfix into main

When we don't have a good dxcompiler.dll that we can load IDxcLibrary from to help with diagnostics, we currently return true for validation even if the validation actually failed.

Let's fix that, and also add a debug-message explaining what went wrong for those who are debugging and wondering what's up.

Fixes: 2ea15cd6 ("d3d12: introduce d3d12 gallium driver")

Merge request reports