zink: use dynamic state for line-width
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 29 Oct 2019 11:43:56 +0000 (12:43 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 30 Oct 2019 10:29:23 +0000 (10:29 +0000)
commit6d30abb4f14e238d128ab05479c6d4377a27ebfa
treec2307724f1a1fd72a8dc82d7ad8ad2a43970fbde
parentd2bb63c8d4cdc02b1c33afadea5becd58fb7286c
zink: use dynamic state for line-width

This will lead to fewer pipelines in the cache, which is assumed to
become our most unavoidable performance bottle-neck down the line.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h
src/gallium/drivers/zink/zink_pipeline.c
src/gallium/drivers/zink/zink_pipeline.h
src/gallium/drivers/zink/zink_state.c