Mesa (master): anv/icl: Generate gen11 entry point functions
Anuj Phogat
aphogat at kemper.freedesktop.org
Fri Feb 16 19:11:30 UTC 2018
Module: Mesa
Branch: master
Commit: 1f108b436bba232911f28f52b506894ff7b59b5e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f108b436bba232911f28f52b506894ff7b59b5e
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Fri May 26 12:31:58 2017 -0700
anv/icl: Generate gen11 entry point functions
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
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 1bab885180..c5a654f19b 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;
More information about the mesa-commit
mailing list