util/os_file: extend os_read_file to return the file size
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 16 Mar 2020 09:48:48 +0000 (10:48 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 24 Mar 2020 07:30:34 +0000 (08:30 +0100)
commit2cb965e5b60dbcd767da42360a5e18acd8803f5d
treea9170a0af658650b6f96eef16320bbb655b65491
parentbd6234f24be024556a4b83e879bb65b89fea7a12
util/os_file: extend os_read_file to return the file size

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4181>
src/intel/vulkan/anv_device.c
src/util/os_file.c
src/util/os_file.h