virgl: move vrend_get_tex_image_offset to common code
authorGurchetan Singh <gurchetansingh@chromium.org>
Sat, 10 Nov 2018 00:40:03 +0000 (16:40 -0800)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Dec 2018 12:29:16 +0000 (13:29 +0100)
commit2a44acc83b9cefe98c35927b85411cac3108fc65
tree9307a0a89b6302c2760fe9020c7b3e2eafdb09c1
parentf749229a8e16df4e88e2a1d30895f7741b91f1fd
virgl: move vrend_get_tex_image_offset 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