Revert "zink: reject Imagination proprietary driver w/o geometryShader"
This reverts commit ca087e2027.
It's discovered that the newest Rogue proprietary Vulkan driver does not
prevent us from running Zink (aside from an assert of geometryShader,
which is already changed to an if clause), and which fails previously is
because of some bugs in old driver blobs.
As the faulty blob versions are rejected now, revert this commit to
accept Rogue drivers.
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34183>
This commit is contained in:
@@ -3400,12 +3400,6 @@ zink_internal_create_screen(const struct pipe_screen_config *config, int64_t dev
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (zink_driverid(screen) == VK_DRIVER_ID_IMAGINATION_PROPRIETARY && !screen->info.feats.features.geometryShader) {
|
||||
if (!screen->driver_name_is_inferred)
|
||||
mesa_loge("zink: Imagination proprietary driver w/o geometryShader is unsupported");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Reject IMG blobs with DDK below 24.1@6554834 if not forced */
|
||||
if (zink_driverid(screen) == VK_DRIVER_ID_IMAGINATION_PROPRIETARY && screen->info.props.driverVersion < 6554834) {
|
||||
debug_printf("zink: Imagination proprietary driver is too old to be supported, expect failure\n");
|
||||
|
||||
Reference in New Issue
Block a user