[Mesa-dev] [PATCH 06/10] anv/icl: Generate gen11 entry point functions
Anuj Phogat
anuj.phogat at gmail.com
Fri Feb 16 01:44:10 UTC 2018
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
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;
--
2.13.6
More information about the mesa-dev
mailing list