virgl: move virgl_resource_layout to common code
authorGurchetan Singh <gurchetansingh@chromium.org>
Sat, 10 Nov 2018 00:27:32 +0000 (16:27 -0800)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Dec 2018 12:29:16 +0000 (13:29 +0100)
commitf749229a8e16df4e88e2a1d30895f7741b91f1fd
tree97da1df607c9f46a954edb9b8c7f1fef198f6eb3
parenta63da9c062bd925482250cd0939aa377f53730a2
virgl: move virgl_resource_layout to common code

Will be reused.

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
src/gallium/drivers/virgl/virgl_resource.c
src/gallium/drivers/virgl/virgl_resource.h
src/gallium/drivers/virgl/virgl_texture.c