Lines Matching refs:cmd
168 def base_name(cmd): argument
174 return cmd[2:]
204 def is_function_supported(cmd): argument
210 if cmd not in extension_dict:
213 if extension_dict[cmd] not in _BLOCKED_EXTENSIONS:
218 def get_dispatch_table_type(cmd): argument
224 if cmd not in param_dict:
227 if param_dict[cmd]:
228 return _DISPATCH_TYPE_DICT.get(param_dict[cmd][0][0], 'Global')
232 def is_globally_dispatched(cmd): argument
241 return is_function_supported(cmd) and get_dispatch_table_type(cmd) == 'Global'
244 def is_instance_dispatched(cmd): argument
250 return (is_function_supported(cmd) and
251 get_dispatch_table_type(cmd) == 'Instance')
254 def is_device_dispatched(cmd): argument
260 return is_function_supported(cmd) and get_dispatch_table_type(cmd) == 'Device'
274 def is_function_exported(cmd): argument
282 if is_function_supported(cmd):
283 if cmd in extension_dict:
284 return is_extension_exported(extension_dict[cmd])
289 def is_instance_dispatch_table_entry(cmd): argument
295 if cmd == 'vkEnumerateDeviceLayerProperties':
298 return is_function_exported(cmd) and is_instance_dispatched(cmd)
301 def is_device_dispatch_table_entry(cmd): argument
307 return is_function_exported(cmd) and is_device_dispatched(cmd)