zink: do not dig into resource for nr_samples
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 20 May 2020 12:48:02 +0000 (14:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 20:20:49 +0000 (20:20 +0000)
commit43c691b5b0f1cfba9292b316f846ad932646f0e4
tree29aa51a8b2813c856e460d9e5b518b0229132caa
parente38513e828df239b4ea06f50af9cecf78305eb37
zink: do not dig into resource for nr_samples

The pipe_surface also know this, so no point in digging so deep.

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