Lines Matching refs:ext
192 for ext in EXTENSIONS:
193 ext_name_map[ext.name] = ext
200 ext = ext_name_map[ext_name]
201 ext.type = ext_elem.attrib['type']
202 ext.promotedto = ext_elem.attrib.get('promotedto', None)
204 ext.requires = ext_elem.attrib['requires'].split(',')
206 ext.requires = []
208 def extra_deps(ext):
209 if ext.type == 'instance':
210 check = 'instance->enabled_extensions.{}'.format(ext.name[3:])
211 if ext.promotedto is not None:
214 api_ver = ext.promotedto.replace('VK_VER', 'VK_API_VER')
219 for dep in ext.requires:
224 for ext in EXTENSIONS:
225 if ext.type == 'device':
226 for dep in extra_deps(ext):
227 ext.enable += ' && ' + dep
242 %for ext in instance_extensions:
243 bool ${ext.name[3:]};
253 %for ext in device_extensions:
254 bool ${ext.name[3:]};
302 %for ext in instance_extensions:
303 {"${ext.name}", ${ext.ext_version}},
308 %for ext in device_extensions:
309 {"${ext.name}", ${ext.ext_version}},
314 %for ext in instance_extensions:
315 .${ext.name[3:]} = ${ext.enable},
323 %for ext in device_extensions:
324 table->${ext.name[3:]} = ${ext.enable};
361 for ext in EXTENSIONS:
362 assert ext.type == 'instance' or ext.type == 'device'