gfx stack update (still holding the breaking llvm)
[nyanlinux.git] / builders / mesa-gl-amd-sh-81d85be9a5cfb5860ba5d15f2bf6f1a4946e411e / contrib / dri_util.c.patch
blob329ad32f1741757d390c9b5bf6c35977ce918336
1 --- dri_util.c
2 +++ dri_util.c
3 @@ -189,25 +189,6 @@ swkmsCreateNewScreen(int scrn, int fd,
4 driver_configs, data);
7 -/** swrast driver createNewScreen entrypoint. */
8 -static __DRIscreen *
9 -driSWRastCreateNewScreen(int scrn, const __DRIextension **extensions,
10 - const __DRIconfig ***driver_configs, void *data)
12 - return driCreateNewScreen2(scrn, -1, extensions,
13 - galliumsw_driver_extensions,
14 - driver_configs, data);
17 -static __DRIscreen *
18 -driSWRastCreateNewScreen2(int scrn, const __DRIextension **extensions,
19 - const __DRIextension **driver_extensions,
20 - const __DRIconfig ***driver_configs, void *data)
22 - return driCreateNewScreen2(scrn, -1, extensions, driver_extensions,
23 - driver_configs, data);
26 /**
27 * Destroy the per-screen private information.
29 @@ -835,16 +816,6 @@ const __DRIdri2Extension swkmsDRI2Extension = {
30 .createNewScreen2 = driCreateNewScreen2,
33 -const __DRIswrastExtension driSWRastExtension = {
34 - .base = { __DRI_SWRAST, 4 },
36 - .createNewScreen = driSWRastCreateNewScreen,
37 - .createNewDrawable = driCreateNewDrawable,
38 - .createNewContextForAPI = driCreateNewContextForAPI,
39 - .createContextAttribs = driCreateContextAttribs,
40 - .createNewScreen2 = driSWRastCreateNewScreen2,
41 -};
43 const __DRI2configQueryExtension dri2ConfigQueryExtension = {
44 .base = { __DRI2_CONFIG_QUERY, 2 },