anv: Add stub for anv_gem_get_tiling() for Android
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 29 Jul 2020 19:51:07 +0000 (12:51 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 18:08:07 +0000 (18:08 +0000)
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>

src/intel/vulkan/anv_gem_stubs.c

index d232ff4e905f20cf8c881c2fb1da90784356c0b3..d6636d3ccd85e99996f5fcf920105592578df841 100644 (file)
@@ -103,6 +103,12 @@ anv_gem_set_tiling(struct anv_device *device,
    return 0;
 }
 
+int
+anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle)
+{
+   return 0;
+}
+
 int
 anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle,
                     uint32_t caching)