zink: use samples from state
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 20 May 2020 12:39:35 +0000 (14:39 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 20:20:49 +0000 (20:20 +0000)
commite38513e828df239b4ea06f50af9cecf78305eb37
tree09a90ea36cc4ba761a159a2ba8da4cca995f2482
parentfcbc022787d4fdfcfdf843d9f720a587e1f0579d
zink: use samples from state

There's no reason to compute this, when it's already passed in.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5141>
src/gallium/drivers/zink/zink_context.c