anv: Add a per-device dispatch table
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Jan 2018 02:24:56 +0000 (18:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Jan 2018 08:15:40 +0000 (00:15 -0800)
commite3d27542aec33c7e0c2048a46a8a3cf71f09e907
tree6f403a706fe365361bb2394274443862f1b680f2
parent0c399dca51d2aa1a784edcb6e409aba5b67e1473
anv: Add a per-device dispatch table

We also switch GetDeviceProcAddr over to use it.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h