summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-05-26 12:31:58 -0700
committerAnuj Phogat <[email protected]>2018-02-16 11:10:32 -0800
commit1f108b436bba232911f28f52b506894ff7b59b5e (patch)
tree9529e2b2da4cfd8d8371b405ada2b156ae1ce40f
parenta86c0a08df1bbd65374fa9fc42c289329ca5e70a (diff)
anv/icl: Generate gen11 entry point functions
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py6
1 files changed, 5 insertions, 1 deletions
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;