anv,radv: Drop XML workarounds for VK_ANDROID_native_buffer

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Jason Ekstrand 2018-04-16 07:38:31 -07:00
parent 35ef0f767e
commit 72ab499c9f
2 changed files with 2 additions and 12 deletions

View File

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

View File

@ -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 + """