VkResult res;
uint32_t storage_idx;
- /* TODOVV: move to validation layer */
-// if (instance == VK_NULL_HANDLE)
-// return VK_ERROR_INVALID_HANDLE;
-
for (inst = loader.instances; inst; inst = inst->next) {
if ((VkInstance) inst == instance)
break;
}
- /* TODOVV: move to validation layer */
-// if (inst == VK_NULL_HANDLE)
-// return VK_ERROR_INVALID_HANDLE;
-
icd_info = calloc(sizeof(VkDbgMsgCallback), inst->total_icd_count);
if (!icd_info) {
return VK_ERROR_OUT_OF_HOST_MEMORY;
VkResult res = VK_SUCCESS;
struct loader_instance *inst;
- /* TODOVV: Move to validation layer */
-// if (instance == VK_NULL_HANDLE)
-// return VK_ERROR_INVALID_HANDLE;
-
for (inst = loader.instances; inst; inst = inst->next) {
if ((VkInstance) inst == instance)
break;
}
- /* TODOVV: Move to validation layer */
-// if (inst == VK_NULL_HANDLE)
-// return VK_ERROR_INVALID_HANDLE;
-
icd_info = *(VkDbgMsgCallback **) &msgCallback;
storage_idx = 0;
for (icd = inst->icds; icd; icd = icd->next) {