Lines Matching defs:context

68 tcu::TestStatus runTest (Context&							context,
77 requireFeatures(context.getInstanceInterface(), context.getPhysicalDevice(), FEATURE_TESSELLATION_SHADER);
79 const DeviceInterface& vk = context.getDeviceInterface();
80 const VkDevice device = context.getDevice();
81 const VkQueue queue = context.getUniversalQueue();
82 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
83 Allocator& allocator = context.getDefaultAllocator();
125 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, context.getBinaryCollection().get("vert"), DE_NULL)
126 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, context.getBinaryCollection().get("tesc"), DE_NULL)
127 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, context.getBinaryCollection().get("tese"), DE_NULL)
128 .setShader (vk, device, VK_SHADER_STAGE_FRAGMENT_BIT, context.getBinaryCollection().get("frag"), DE_NULL)
132 tcu::TestLog& log = context.getTestContext().getLog();
184 tcu::TestLog& log = context.getTestContext().getLog();
301 tcu::TestStatus test (Context& context, const CaseDefinition caseDef)
315 tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), caseDef.referenceImagePath.c_str());
319 return runTest(context, numPrimitives, caseDef.inPatchSize, caseDef.outPatchSize,
465 tcu::TestStatus test (Context& context, const CaseDefinition caseDef)
479 tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), caseDef.referenceImagePath.c_str());
483 return runTest(context, numPrimitives, INPUT_PATCH_SIZE, OUTPUT_PATCH_SIZE,
595 tcu::TestStatus test (Context& context, const CaseType caseType)
608 tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), "vulkan/data/tessellation/gl_position_ref.png");
614 return runTest(context, numPrimitives, inPatchSize, outPatchSize,
743 tcu::TestStatus test (Context& context)
753 tcu::ImageIO::loadPNG(referenceImage, context.getTestContext().getArchive(), "vulkan/data/tessellation/barrier_ref.png");
759 return runTest(context, numPrimitives, inPatchSize, outPatchSize,
923 tcu::TestStatus test (Context& context, const CaseDefinition caseDef)
937 return runTest(context, numPrimitives, INPUT_PATCH_SIZE, OUTPUT_PATCH_SIZE,