zink: don't assert geometryShader for IMG proprietary driver
The proprietary driver for Imagination Rogue-architecture GPUs does not come with geometryShader support. Change the assert for it to another if condition. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34183>
This commit is contained in:
@@ -2845,10 +2845,9 @@ init_driver_workarounds(struct zink_screen *screen)
|
||||
}
|
||||
|
||||
if (zink_driverid(screen) ==
|
||||
VK_DRIVER_ID_IMAGINATION_PROPRIETARY) {
|
||||
assert(screen->info.feats.features.geometryShader);
|
||||
VK_DRIVER_ID_IMAGINATION_PROPRIETARY &&
|
||||
screen->info.feats.features.geometryShader)
|
||||
screen->driver_workarounds.no_linesmooth = true;
|
||||
}
|
||||
|
||||
/* This is a workarround for the lack of
|
||||
* gl_PointSize + glPolygonMode(..., GL_LINE), in the imagination
|
||||
|
||||
Reference in New Issue
Block a user