anv/icl: Generate gen11 entry point functions

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Anuj Phogat 2017-05-26 12:31:58 -07:00
parent a86c0a08df
commit 1f108b436b
1 changed files with 5 additions and 1 deletions

View File

@ -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;