Lines Matching defs:context
301 Move<VkBuffer> createBufferAndBindMemory (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc)
303 const DeviceInterface& vk = context.getDeviceInterface();
304 const VkDevice vkDevice = context.getDevice();
305 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
321 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible);
327 Move<VkImage> createImage2DAndBindMemory (Context& context,
335 const DeviceInterface& vk = context.getDeviceInterface();
336 const VkDevice vkDevice = context.getDevice();
337 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
360 *pAlloc = context.getDefaultAllocator().allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement::Any);
457 DepthRangeUnrestrictedTestInstance (Context& context,
717 DepthRangeUnrestrictedTestInstance::DepthRangeUnrestrictedTestInstance (Context& context,
719 : TestInstance (context)
728 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
882 m_vertModule = ShaderWrapper(vk, vkDevice, context.getBinaryCollection().get("vert"), 0);
883 m_fragModule = ShaderWrapper(vk, vkDevice, context.getBinaryCollection().get("frag"), 0);
1100 DepthBoundsRangeUnrestrictedTestInstance (Context& context,
1116 DepthBoundsRangeUnrestrictedTestInstance::DepthBoundsRangeUnrestrictedTestInstance (Context& context,
1118 : DepthRangeUnrestrictedTestInstance(context, param)
1375 virtual TestInstance* createInstance (Context& context) const;
1376 void checkSupport (Context& context) const;
1409 TestInstance* DepthRangeUnrestrictedTest::createInstance (Context& context) const
1412 return new DepthBoundsRangeUnrestrictedTestInstance(context, m_param);
1413 return new DepthRangeUnrestrictedTestInstance(context, m_param);
1416 void DepthRangeUnrestrictedTest::checkSupport(Context& context) const
1418 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), m_param.pipelineConstructionType);