mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
e0e7d8d910
commit
3db1a91bfe
1 changed files with 0 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue