From 1f108b436bba232911f28f52b506894ff7b59b5e Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Fri, 26 May 2017 12:31:58 -0700 Subject: anv/icl: Generate gen11 entry point functions Signed-off-by: Anuj Phogat Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_entrypoints_gen.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index 1bab885180d..c5a654f19b2 100644 --- a/src/intel/vulkan/anv_entrypoints_gen.py +++ b/src/intel/vulkan/anv_entrypoints_gen.py @@ -43,7 +43,8 @@ LAYERS = [ 'gen75', 'gen8', 'gen9', - 'gen10' + 'gen10', + 'gen11', ] TEMPLATE_H = Template("""\ @@ -246,6 +247,9 @@ anv_resolve_entrypoint(const struct gen_device_info *devinfo, uint32_t index) const struct anv_dispatch_table *genX_table; switch (devinfo->gen) { + case 11: + genX_table = &gen11_dispatch_table; + break; case 10: genX_table = &gen10_dispatch_table; break; -- cgit v1.2.3