zink: clamp line_stipple_factor to 1 if stipple is disabled
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 12 Oct 2022 17:42:58 +0000 (13:42 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Oct 2022 01:16:30 +0000 (01:16 +0000)
commitf72071fbc35a703c058b4113ca91559774c70e77
treeff9abf961135e094361bd4a837ac307635d8f9a0
parent2710ef4c2af594ff8ff34b8bbadad81876324925
zink: clamp line_stipple_factor to 1 if stipple is disabled

0 is technically an illegal value even though it won't be read in this case

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19065>
src/gallium/drivers/zink/zink_state.c