Lines Matching refs:cmd
163 def base_name(cmd): argument
169 return cmd[2:]
199 def is_function_supported(cmd): argument
205 if cmd not in extension_dict:
208 if extension_dict[cmd] not in _BLOCKED_EXTENSIONS:
213 def get_dispatch_table_type(cmd): argument
219 if cmd not in param_dict:
222 if param_dict[cmd]:
223 return _DISPATCH_TYPE_DICT.get(param_dict[cmd][0][0], 'Global')
227 def is_globally_dispatched(cmd): argument
236 return is_function_supported(cmd) and get_dispatch_table_type(cmd) == 'Global'
239 def is_instance_dispatched(cmd): argument
245 return (is_function_supported(cmd) and
246 get_dispatch_table_type(cmd) == 'Instance')
249 def is_device_dispatched(cmd): argument
255 return is_function_supported(cmd) and get_dispatch_table_type(cmd) == 'Device'
269 def is_function_exported(cmd): argument
277 if is_function_supported(cmd):
278 if cmd in extension_dict:
279 return is_extension_exported(extension_dict[cmd])
284 def is_instance_dispatch_table_entry(cmd): argument
290 if cmd == 'vkEnumerateDeviceLayerProperties':
293 return is_function_exported(cmd) and is_instance_dispatched(cmd)
296 def is_device_dispatch_table_entry(cmd): argument
302 return is_function_exported(cmd) and is_device_dispatched(cmd)