zink: use actual format for render-pass
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 29 Oct 2019 22:16:30 +0000 (23:16 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 6 Nov 2019 11:37:36 +0000 (11:37 +0000)
commitf3a72fd61c22d43e51d02b919af72aaa0587eb9b
tree3522bfa4acb31db53efd32ddf76cdc6a0a0c35fa
parent21be5c8edd3ad156f6cbfbceb96e7939716d9f2c
zink: use actual format for render-pass

We should use the format derived from the image-view here, not from the
image itselt. Otherwise, we'll end up with incompatible render-passes.

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