aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/vulkan/radv_extensions.py7
-rw-r--r--src/intel/vulkan/anv_extensions_gen.py7
2 files changed, 2 insertions, 12 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
index db37d617f9e..099cae78b11 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -161,12 +161,7 @@ def _init_exts_from_xml(xml):
continue
ext = ext_name_map[ext_name]
- if ext_name == 'VK_ANDROID_native_buffer':
- # VK_ANDROID_native_buffer is missing the type specifier. Just
- # hard-code it to be a device extension for now.
- ext.type = 'device'
- else:
- ext.type = ext_elem.attrib['type']
+ ext.type = ext_elem.attrib['type']
_TEMPLATE_H = Template(COPYRIGHT + """
#ifndef RADV_EXTENSIONS_H
diff --git a/src/intel/vulkan/anv_extensions_gen.py b/src/intel/vulkan/anv_extensions_gen.py
index 57a528563ed..5ea82204eea 100644
--- a/src/intel/vulkan/anv_extensions_gen.py
+++ b/src/intel/vulkan/anv_extensions_gen.py
@@ -46,12 +46,7 @@ def _init_exts_from_xml(xml):
continue
ext = ext_name_map[ext_name]
- if ext_name == 'VK_ANDROID_native_buffer':
- # VK_ANDROID_native_buffer is missing the type specifier. Just
- # hard-code it to be a device extension for now.
- ext.type = 'device'
- else:
- ext.type = ext_elem.attrib['type']
+ ext.type = ext_elem.attrib['type']
_TEMPLATE_H = Template(COPYRIGHT + """