glx/drisw: Enable GLX_ARB_create_context_no_error
authorAdam Jackson <ajax@redhat.com>
Tue, 23 Feb 2021 20:28:40 +0000 (15:28 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 16 Apr 2021 06:50:35 +0000 (06:50 +0000)
Detect this the same way as we do for drihw.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9233>

src/gallium/drivers/llvmpipe/ci/llvmpipe-quick_gl.txt
src/gallium/drivers/softpipe/ci/softpipe-quick.txt
src/gallium/drivers/zink/ci/piglit-zink-lvp-fails.txt
src/glx/drisw_glx.c

index 326ec83..d6d0295 100644 (file)
@@ -1,5 +1,4 @@
 fast_color_clear/fcc-clear-tex: skip
-glx/extension string sanity: fail
 glx/glx-buffer-age: skip
 glx/glx-buffer-age vblank_mode=0: skip
 glx/glx-copy-sub-buffer: fail
@@ -29,7 +28,6 @@ glx/glx-visuals-stencil: fail
 glx/glx-visuals-stencil -pixmap: fail
 glx/glx_arb_create_context/invalid flag: fail
 glx/glx_arb_create_context_es2_profile/invalid opengl es version: fail
-glx/glx_arb_create_context_no_error/no error: skip
 glx/glx_arb_create_context_robustness/invalid reset notification strategy: skip
 glx/glx_arb_create_context_robustness/require gl_arb_robustness: skip
 glx/glx_arb_sync_control/glxgetmscrateoml: skip
index 45de363..e26e318 100644 (file)
@@ -1,7 +1,6 @@
 fast_color_clear/fcc-clear-tex: skip
 fast_color_clear/fcc-front-buffer-distraction: crash
 fast_color_clear/fcc-write-after-clear: skip
-glx/extension string sanity: fail
 glx/glx-buffer-age: skip
 glx/glx-buffer-age vblank_mode=0: skip
 glx/glx-copy-sub-buffer samples=16: skip
@@ -30,7 +29,6 @@ glx/glx-visuals-depth -pixmap: fail
 glx/glx-visuals-stencil: fail
 glx/glx-visuals-stencil -pixmap: fail
 glx/glx_arb_create_context_es2_profile/invalid opengl es version: fail
-glx/glx_arb_create_context_no_error/no error: skip
 glx/glx_arb_create_context_robustness/invalid reset notification strategy: skip
 glx/glx_arb_create_context_robustness/require gl_arb_robustness: skip
 glx/glx_arb_sync_control/glxgetmscrateoml: skip
index 401960d..7dde57c 100644 (file)
@@ -1,4 +1,3 @@
-glx@extension string sanity,Fail
 glx@glx-copy-sub-buffer,Fail
 glx@glx-copy-sub-buffer samples=2,Fail
 glx@glx-copy-sub-buffer samples=4,Fail
index 8227b7d..355d802 100644 (file)
@@ -783,6 +783,10 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions)
          __glXEnableDirectExtension(&psc->base,
                                     "GLX_ARB_context_flush_control");
       }
+
+      if (strcmp(extensions[i]->name, __DRI2_NO_ERROR) == 0)
+         __glXEnableDirectExtension(&psc->base,
+                                    "GLX_ARB_create_context_no_error");
    }
 }