zink: delete erroneous kopper assert
certain present modes aren't supported by zink, but that doesn't mean the driver needs to crash if the driver supports them cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31121>
This commit is contained in:
committed by
Marge Bot
parent
e0e7d8d910
commit
3db1a91bfe
@@ -131,7 +131,6 @@ kopper_CreateSurface(struct zink_screen *screen, struct kopper_displaytarget *cd
|
||||
/* VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR and VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR
|
||||
* are not handled
|
||||
*/
|
||||
assert(modes[i] <= VK_PRESENT_MODE_FIFO_RELAXED_KHR);
|
||||
if (modes[i] <= VK_PRESENT_MODE_FIFO_RELAXED_KHR)
|
||||
cdt->present_modes |= BITFIELD_BIT(modes[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user