<div dir="ltr">We actually need a couple of other stubs as well.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 7:10 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
<br>
Introduce a stub to anv_gem_stub.c that matches the anv_gem.c one.<br>
Otherwise we may get link-time errors, when building the tests.<br>
<br>
Cc: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br>
Cc: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>><br>
Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=100574" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=100574</a><br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
---<br>
src/intel/vulkan/anv_gem_<wbr>stubs.c | 6 ++++++<br>
1 file changed, 6 insertions(+)<br>
<br>
diff --git a/src/intel/vulkan/anv_gem_<wbr>stubs.c b/src/intel/vulkan/anv_gem_<wbr>stubs.c<br>
index 30b40ce323a..c3e7afd589c 100644<br>
--- a/src/intel/vulkan/anv_gem_<wbr>stubs.c<br>
+++ b/src/intel/vulkan/anv_gem_<wbr>stubs.c<br>
@@ -144,6 +144,12 @@ anv_gem_get_aperture(int fd, uint64_t *size)<br>
unreachable("Unused");<br>
}<br>
<br>
+bool<br>
+anv_gem_supports_48b_<wbr>addresses(int fd)<br>
+{<br>
+ unreachable("Unused");<br>
+}<br>
+<br>
int<br>
anv_gem_handle_to_fd(struct anv_device *device, uint32_t gem_handle)<br>
{<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.12.1<br>
<br>
</font></span></blockquote></div><br></div></div></div>