mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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:
parent
a86c0a08df
commit
1f108b436b
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue