zink: always allow mutating the format
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 29 Oct 2019 22:19:53 +0000 (23:19 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 6 Nov 2019 11:37:36 +0000 (11:37 +0000)
commitca87a53b4661ae15d0c26d2ef0dbdc5a7009dee6
treeea77ae097d2d8f0adcd027e5ffe2e9c0f6b370ef
parentf3a72fd61c22d43e51d02b919af72aaa0587eb9b
zink: always allow mutating the format

There's no good way to know if a texture-view will be created, so we
just have to accept it for all resources.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
src/gallium/drivers/zink/zink_resource.c