anv: split instance dispatch table

Graphics / Mesa 3D Graphics Library / Mesa - Eric Engestrom [intel.com] - 20 September 2019 08:31 EDT

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.

19db95e78eb anv: split instance dispatch table
src/intel/vulkan/anv_device.c | 18 ++++
src/intel/vulkan/anv_entrypoints_gen.py | 171 ++++++++++++++++++++++++++++++++
src/intel/vulkan/anv_private.h | 10 +-
3 files changed, 198 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share