anv: split instance dispatch table
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 3 Sep 2019 10:54:35 +0000 (13:54 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 20 Sep 2019 08:31:58 +0000 (08:31 +0000)
commit19db95e78eb03d598c60487cc7939a507784530f
treeec59f15bfa5d8134577cb968300e5b2468f05e93
parent88b8922f57137e75c8ea48969e27a8275adbdf5a
anv: split instance dispatch table

This effectively breaks the instance dispatch table in 2 with entry
points using a physical device as first argument getting their own
dispatch table.

As a result we now have to check instance & physical device dispatch
table instead of just the instance dispatch table before.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_entrypoints_gen.py
src/intel/vulkan/anv_private.h