Lines Matching defs:context
712 void supportedCheck (Context& context, MaxVaryingsParam param)
715 const vk::InstanceInterface& vki = context.getInstanceInterface();
717 vki.getPhysicalDeviceFeatures(context.getPhysicalDevice(), &features);
736 vki.getPhysicalDeviceProperties(context.getPhysicalDevice(), &properties);
787 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), param.pipelineConstructionType);
888 Move<VkBuffer> createBufferAndBindMemory (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc)
890 const DeviceInterface& vk = context.getDeviceInterface();
891 const VkDevice vkDevice = context.getDevice();
892 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
908 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible);
949 tcu::TestStatus test(Context& context, const MaxVaryingsParam param)
951 const InstanceInterface& vki = context.getInstanceInterface();
952 const DeviceInterface& vk = context.getDeviceInterface();
953 const VkPhysicalDevice physicalDevice = context.getPhysicalDevice();
954 const VkDevice device = context.getDevice();
955 const VkQueue queue = context.getUniversalQueue();
956 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
957 Allocator& allocator = context.getDefaultAllocator();
958 tcu::TestLog &log = context.getTestContext().getLog();
973 Move<VkBuffer> vertexBuffer = createBufferAndBindMemory(context, sizeof(tcu::Vec4) * 6u, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, &vertexBufferMemory);
989 vki.getPhysicalDeviceProperties(context.getPhysicalDevice(), &properties);
991 vki.getPhysicalDeviceFeatures(context.getPhysicalDevice(), &features);
1028 vk::BinaryCollection& binaryCollection(context.getBinaryCollection());
1049 GraphicsPipelineWrapper graphicsPipeline(vki, vk, physicalDevice, device, context.getDeviceExtensions(), param.pipelineConstructionType);