Lines Matching defs:device
142 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
248 // device layers
273 // device extensions
320 #define ACQUIRE_VK_PROC_NOCHECK(name, instance, device) \
321 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
323 #define ACQUIRE_VK_PROC(name, instance, device) \
325 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
329 if (device != VK_NULL_HANDLE) { \
336 #define ACQUIRE_VK_PROC_LOCAL(name, instance, device) \
338 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
462 VkDevice device;
562 // Just returning the first physical device instead of getting the whole array.
566 // VK_INCOMPLETE is returned when the count we provide is less than the total device count.
578 SkDebugf("protected requires vk physical device version 1.1\n");
704 // the device creation will use that instead of the ppEnabledFeatures.
757 err = grVkCreateDevice(physDev, &deviceInfo, nullptr, &device);
767 ACQUIRE_VK_PROC(GetDeviceQueue2, inst, device);
776 grVkGetDeviceQueue2(device, &queue_info2, &queue);
778 grVkGetDeviceQueue(device, graphicsQueueIndex, 0, &queue);
783 ctx->fDevice = device;