summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-08-29 01:34:44 -0700
committerChad Versace <[email protected]>2017-10-17 11:08:26 -0700
commitb5dc551014f45daba07339f884e89f87c1be923e (patch)
treec0eb69dad64510daac762a1bda43ceed9ee7e6db /src/intel/vulkan/anv_private.h
parenteb69a61806a6bee22f2306420314ac712f4c6e1e (diff)
anv: Add func anv_gem_get_tiling()
Will use in VK_ANDROID_native_buffer. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 27d2c342033..8af3f5c69e1 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -929,6 +929,7 @@ int anv_gem_destroy_context(struct anv_device *device, int context);
int anv_gem_get_context_param(int fd, int context, uint32_t param,
uint64_t *value);
int anv_gem_get_param(int fd, uint32_t param);
+int anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle);
bool anv_gem_get_bit6_swizzle(int fd, uint32_t tiling);
int anv_gem_get_aperture(int fd, uint64_t *size);
bool anv_gem_supports_48b_addresses(int fd);