This is for testing purposes only and will not be merged.  This forces
everything through the trampoline entrypoints.
---
 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index b24690a..647384b 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1147,7 +1147,7 @@ PFN_vkVoidFunction anv_GetDeviceProcAddr(
    if (idx < 0)
       return NULL;
 
-   return device->dispatch.entrypoints[idx];
+   return device->instance->dispatch.entrypoints[idx];
 }
 
 static void
-- 
2.5.0.400.gff86faf

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to