Lines Matching refs:instance_data
106 …layer_data *instance_data = get_my_data_ptr(get_dispatch_key(device_data->physical_device), layer_… in ValidateQueueFlags() local
107 …if ((instance_data->queue_family_properties[pQueueInfo->queue_node_index].queueFlags & VK_QUEUE_SP… in ValidateQueueFlags()
258 …layer_data *instance_data = get_my_data_ptr(get_dispatch_key(dispatchable_object), layer_data_map); in CreateObject() local
263 …log_msg(instance_data->report_data, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, object_type, object_handl… in CreateObject()
271 instance_data->object_map[object_type][object_handle] = pNewObjNode; in CreateObject()
272 instance_data->num_objects[object_type]++; in CreateObject()
273 instance_data->num_total_objects++; in CreateObject()
355 layer_data *instance_data = get_my_data_ptr(key, layer_data_map); in DestroyInstance() local
359 if (instance_data->num_tmp_callbacks > 0) { in DestroyInstance()
360 … if (!layer_enable_tmp_callbacks(instance_data->report_data, instance_data->num_tmp_callbacks, in DestroyInstance()
361 … instance_data->tmp_dbg_create_infos, instance_data->tmp_callbacks)) { in DestroyInstance()
371 for (auto iit = instance_data->object_map[VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT].begin(); in DestroyInstance()
372 iit != instance_data->object_map[VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT].end();) { in DestroyInstance()
377 …log_msg(instance_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, pNode->object_type, pNode->hand… in DestroyInstance()
405 instance_data->object_map[VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT].clear(); in DestroyInstance()
412 …layer_disable_tmp_callbacks(instance_data->report_data, instance_data->num_tmp_callbacks, instance… in DestroyInstance()
414 if (instance_data->num_tmp_callbacks > 0) { in DestroyInstance()
415 layer_free_tmp_callbacks(instance_data->tmp_dbg_create_infos, instance_data->tmp_callbacks); in DestroyInstance()
416 instance_data->num_tmp_callbacks = 0; in DestroyInstance()
420 while (instance_data->logging_callback.size() > 0) { in DestroyInstance()
421 VkDebugReportCallbackEXT callback = instance_data->logging_callback.back(); in DestroyInstance()
422 layer_destroy_msg_callback(instance_data->report_data, callback, pAllocator); in DestroyInstance()
423 instance_data->logging_callback.pop_back(); in DestroyInstance()
426 layer_debug_report_destroy_instance(instance_data->report_data); in DestroyInstance()
2980 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in CreateDebugReportCallbackEXT() local
2981 …result = layer_create_msg_callback(instance_data->report_data, false, pCreateInfo, pAllocator, pCa… in CreateDebugReportCallbackEXT()
2991 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in DestroyDebugReportCallbackEXT() local
2992 layer_destroy_msg_callback(instance_data->report_data, msgCallback, pAllocator); in DestroyDebugReportCallbackEXT()
3038 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in InterceptMsgCallbackGetProcAddrCommand() local
3039 return debug_report_get_instance_proc_addr(instance_data->report_data, name); in InterceptMsgCallbackGetProcAddrCommand()
3201 … layer_data *instance_data = get_my_data_ptr(get_dispatch_key(physicalDevice), layer_data_map); in GetPhysicalDeviceQueueFamilyProperties() local
3203 instance_data->queue_family_properties.emplace_back(pQueueFamilyProperties[i]); in GetPhysicalDeviceQueueFamilyProperties()
3227 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(*pInstance), layer_data_map); in CreateInstance() local
3228 instance_data->instance = *pInstance; in CreateInstance()
3234 …layer_copy_tmp_callbacks(pCreateInfo->pNext, &instance_data->num_tmp_callbacks, &instance_data->tm… in CreateInstance()
3235 &instance_data->tmp_callbacks); in CreateInstance()
3237 …instance_data->report_data = debug_report_create_instance(pInstanceTable, *pInstance, pCreateInfo-… in CreateInstance()
3240 InitObjectTracker(instance_data, pAllocator); in CreateInstance()