glx/drisw: Enable GLX_ARB_create_context_no_error

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>
This commit is contained in:
Adam Jackson 2021-02-23 15:28:40 -05:00 committed by Marge Bot
parent 1cf36797bf
commit d53fc2240b
4 changed files with 4 additions and 5 deletions

View 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

View 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

View 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

View 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");
}
}