d3d12: Assert failures & crashes on latest master
On 2b29ec7c (downloaded from "meson-windows" via https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/252105), using "opengl32.dll", the D3D12 backend appears to be pretty broken:
- Trying to run the Dolphin Emulator trips an assert:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!
Program: C:\Program Files\Dolphin Emulator\OPENGL32.dll
File: ../src/gallium/drivers/d3d12/d3d12_draw.cpp
Line: 560
Expression: ctx->current_pso
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort Retry Ignore
---------------------------
-
Trying to run the mGBA emulator trips a different assert (which I cannot seem to copy because it triggers in a loop and then hard-quits)
-
OpenGL Extensions Viewer starts up and informs me that OpenGL 3.1 is supported, but when attempting to run a render test, the application unceremoniously exits (with no assert message.)
All of these applications work, to some degree or another, using the OpenGL ICD from the Fast Ring build of the OpenGL Compatibility Pack, so these seem like regressions. (However, I suppose it is possible that the ICD works but opengl32.dll does not; I did not test the ICD this time around.)