Lines Matching defs:context

131 tcu::TestStatus runTest (Context& context, const CaseDefinition caseDef)
133 requireFeatures(context.getInstanceInterface(), context.getPhysicalDevice(), FEATURE_TESSELLATION_SHADER);
135 const DeviceInterface& vk = context.getDeviceInterface();
136 const VkDevice device = context.getDevice();
137 const VkQueue queue = context.getUniversalQueue();
138 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
139 Allocator& allocator = context.getDefaultAllocator();
215 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, context.getBinaryCollection().get("vert"), DE_NULL)
216 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, context.getBinaryCollection().get("tesc"), DE_NULL)
217 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, context.getBinaryCollection().get("tese"), DE_NULL)
218 .setShader (vk, device, VK_SHADER_STAGE_FRAGMENT_BIT, context.getBinaryCollection().get("frag"), DE_NULL)
227 context.getTestContext().getLog()
296 tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), referenceImagePath.c_str());
298 if (tcu::fuzzyCompare(context.getTestContext().getLog(), "ImageComparison", "Image Comparison",
565 TessStateSwitchInstance (Context& context, const TessStateSwitchParams& params)
566 : vkt::TestInstance (context)
588 void checkSupport (Context& context) const;
590 TestInstance* createInstance (Context& context) const { return new TessStateSwitchInstance(context, m_params); }
596 void TessStateSwitchCase::checkSupport (Context& context) const
598 context.requireDeviceCoreFeature(DEVICE_CORE_FEATURE_TESSELLATION_SHADER);
601 context.requireDeviceCoreFeature(DEVICE_CORE_FEATURE_GEOMETRY_SHADER);
604 context.requireDeviceFunctionality("VK_KHR_maintenance2");