[Mesa-dev] [shader-db PATCH 1/5] run: create debug contexts

Nicolai Hähnle nhaehnle at gmail.com
Wed Dec 30 18:32:38 PST 2015


For Gallium-based drivers, this is required for receiving shader information
via debug messages.
---
 run.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/run.c b/run.c
index 82d8c91..685f830 100644
--- a/run.c
+++ b/run.c
@@ -435,6 +435,7 @@ main(int argc, char **argv)
         EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR,
         EGL_CONTEXT_MAJOR_VERSION_KHR, 3,
         EGL_CONTEXT_MINOR_VERSION_KHR, 2,
+        EGL_CONTEXT_FLAGS_KHR, EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR,
         EGL_NONE
     };
     EGLContext core_ctx = eglCreateContext(egl_dpy, cfg, EGL_NO_CONTEXT,
-- 
2.5.0



More information about the mesa-dev mailing list