anv: Pass device to setup_gralloc0_usage for error reporting
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 29 Jul 2020 18:02:07 +0000 (11:02 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 18:08:07 +0000 (18:08 +0000)
commitff0dbf2096148ef7513baa78646809826b7f42b4
tree6ace4050bd75efe3cff00cc43c3bd0313806278b
parent5096ebf9549513436ffd7df7ef7ee1c3ee8cbf7e
anv: Pass device to setup_gralloc0_usage for error reporting

Otherwise it doesn't compile.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: aba57b11ee8c6d ("anv: support GetSwapchainGrallocUsage2ANDROID for Android")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
src/intel/vulkan/anv_android.c