zink: do not set lineWidth to invalid value
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 23 Sep 2019 20:13:50 +0000 (22:13 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:48 +0000 (08:51 +0000)
commit4ef088f241837d64ec7362acf24ca794de24102d
tree0790b59d94e8d9ee38b658bbd6f5e23314769728
parent59f8ba05f5307646e033c4f8a021df3c72b1f14a
zink: do not set lineWidth to invalid value

Some implementations don't support the lineWidth-feature, so let's
avoid setting invalid state to them. But since we don't have a fallback
for this, inform the user.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_pipeline.c