loader: silence implicit-load zink error by the loader
Since commit7d9ea77b45
("glx: add automatic zink fallback loading between hw and sw drivers"), zink could be tried as a fallback. It'd better silence if the zink loading is implicit and on fail as what commit4cc975c6e9
("glx: silence more implicit-load zink errors") has done. But there seems to be one left bebind, which is spit when building swrast but no zink with -Dglx=dri. v2: plumb the flag through from egl/glx to the loader (zmike) Signed-off-by: Luc Ma <luc@sietium.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28970>
This commit is contained in:
@@ -1058,7 +1058,7 @@ dri2CreateScreen(int screen, struct glx_display * priv, bool driver_name_is_infe
|
||||
}
|
||||
psc->driverName = driverName;
|
||||
|
||||
extensions = driOpenDriver(driverName, &psc->driver);
|
||||
extensions = driOpenDriver(driverName, &psc->driver, driver_name_is_inferred);
|
||||
if (extensions == NULL)
|
||||
goto handle_error;
|
||||
|
||||
|
Reference in New Issue
Block a user