Lines Matching defs:instance

120 		VkInstance				instance;
145 // Tests with default instance and device without extensions
147 CustomInstance instance = createCustomInstanceFromContext(m_context, DE_NULL, false);
148 Move<VkDevice> device = createTestDevice(m_context, instance, vector<string>(), false);
150 GetDeviceProcAddrFunc getDeviceProcAddr = reinterpret_cast<GetDeviceProcAddrFunc>(getInstanceProcAddr(instance, "vkGetDeviceProcAddr"));
151 APIContext ctx = { instance, *device, getInstanceProcAddr, getDeviceProcAddr };
210 // Tests with instance and device with extensions
212 CustomInstance instance = createCustomInstanceWithExtensions(m_context, getSupportedInstanceExtensions(instanceApiVersion), DE_NULL, false);
213 Move<VkDevice> device = createTestDevice(m_context, instance, getSupportedDeviceExtensions(deviceApiVersion), false);
215 GetDeviceProcAddrFunc getDeviceProcAddr = reinterpret_cast<GetDeviceProcAddrFunc>(getInstanceProcAddr(instance, "vkGetDeviceProcAddr"));
216 APIContext ctx = { instance, *device, getInstanceProcAddr, getDeviceProcAddr };
222 // Add supported instance extension functions
337 Move<VkDevice> createTestDevice (const Context& context, VkInstance instance, vector<string> extensions = vector<string>(), bool allowLayers = true)
342 VkPhysicalDevice physicalDevice = chooseDevice(context.getInstanceInterface(), instance, cmdLine);
411 return createCustomDevice(validationEnabled, vkp, instance, vki, physicalDevice, &deviceInfo);
431 if ((ctx.getInstanceProcAddr(ctx.instance, name) == DE_NULL) == shouldBeNonNull)
432 reportFail(log, "vkGetInstanceProcAddr", "instance", name, shouldBeNonNull, failsQuantity);
574 // create custom instance for each api version
601 // create instance for currentluy tested vulkan version