summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-04-16 07:38:31 -0700
committerJason Ekstrand <[email protected]>2018-04-16 07:59:25 -0700
commit72ab499c9f9fbfa27645168b688ad03ad5d51242 (patch)
tree5d18e813155e90bdf96ded713f7cbf7c3989bf85 /src/intel
parent35ef0f767e163f3be826cab7cb02bc95bd3e6565 (diff)
anv,radv: Drop XML workarounds for VK_ANDROID_native_buffer
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_extensions_gen.py7
1 files changed, 1 insertions, 6 deletions
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 + """