zink: move format-checking to separate source
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 6 Nov 2019 14:26:12 +0000 (15:26 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 13 Nov 2019 08:12:36 +0000 (09:12 +0100)
commit36f3902213d9502900f70ed5b0b8d22e95e48470
treeea8547b4030d4e7f46996cbdf059473c738629ef
parentfd777d2cea81f62456a08e71de4261e237ee9c73
zink: move format-checking to separate source

This code is more or less stand-alone, and this keeps the formats array
a bit more encapsulated.
src/gallium/drivers/zink/meson.build
src/gallium/drivers/zink/zink_format.c [new file with mode: 0644]
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_screen.h