Lines Matching defs:context

59 void checkSupport(Context& context, TestParams testParams)
62 context.requireDeviceFunctionality("VK_KHR_maintenance5");
64 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), testParams.pipelineConstructionType);
94 tcu::TestStatus testEarlyDestroy (Context& context, const TestParams& params, bool destroyLayout)
96 const InstanceInterface& vki = context.getInstanceInterface();
97 const DeviceInterface& vk = context.getDeviceInterface();
98 const VkPhysicalDevice physicalDevice = context.getPhysicalDevice();
99 const VkDevice vkDevice = context.getDevice();
100 const ShaderWrapper vertexShaderModule (ShaderWrapper(vk, vkDevice, context.getBinaryCollection().get("color_vert"), 0));
102 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT | VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, context.getUniversalQueueFamilyIndex()));
189 context.getResourceInterface()->getCacheDataSize(), // deUintptr initialDataSize;
190 context.getResourceInterface()->getCacheData() // const void* pInitialData;
197 GraphicsPipelineWrapper graphicsPipeline (vki, vk, physicalDevice, vkDevice, context.getDeviceExtensions(), params.pipelineConstructionType, VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT);
240 auto& allocator = context.getDefaultAllocator();
241 const auto queue = context.getUniversalQueue();
265 const ImageWithMemory attachmentImage (vk, vkDevice, context.getDefaultAllocator(), imageCreateInfo, MemoryRequirement::Any);
307 if (context.getTestContext().getCommandLine().isSubProcess())
328 tcu::TestStatus testEarlyDestroyKeepLayout (Context& context, TestParams params)
330 return testEarlyDestroy (context, params, false);
333 tcu::TestStatus testEarlyDestroyDestroyLayout (Context& context, TestParams params)
335 return testEarlyDestroy (context, params, true);