gallium: Store the image format in winsys_handle
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Nov 2019 22:10:38 +0000 (14:10 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 6 Dec 2019 20:31:48 +0000 (20:31 +0000)
commit51ee8fff9b5e803592a2fd34730fdcfdfba469cb
treef14272cddcf778cac14136cb6c03c381d9880ec9
parentd5c857837aae205c0e1fddee30300b4419e2bb3f
gallium: Store the image format in winsys_handle

This format will be used to properly handle planar images with modifiers
in iris.

Fixes: 246eebba4a8 ("iris: Export and import surfaces with modifiers that have aux data")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/include/state_tracker/winsys_handle.h
src/gallium/state_trackers/dri/dri2.c