Module: Mesa
Branch: main
Commit: 51bf1b26d08828bac0145cf82b2460a502f1afe2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=51bf1b26d08828bac0145cf82b2460a502f1afe2

Author: Jesse Natalie <jenat...@microsoft.com>
Date:   Mon Dec 18 10:05:33 2023 -0800

libgl-gdi: Update wgl test to set debug flags needed for tests

Reviewed-by: Sil Vilerino <sivil...@microsoft.com>
Reviewed-by: Yonggang Luo <luoyongg...@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26744>

---

 src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp 
b/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp
index 93290e50f7e..f3b011b83ac 100644
--- a/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp
+++ b/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp
@@ -71,6 +71,8 @@ window::window(uint32_t width, uint32_t height)
 
    _hdc = ::GetDC(_window);
 
+   putenv("D3D12_DEBUG=singleton,debuglayer");
+
    PIXELFORMATDESCRIPTOR pfd = {
        sizeof(PIXELFORMATDESCRIPTOR),  /* size */
        1,                              /* version */

Reply via email to