Lines Matching defs:params
1341 void checkSupportVerifyTests (Context& context, const TestParams params)
1347 if ((context.getDeviceProperties().limits.framebufferColorSampleCounts & params.numSamples) == 0u)
1350 if ((getSampleLocationsPropertiesEXT(context).sampleLocationSampleCounts & params.numSamples) == 0u)
1353 if (TEST_OPTION_FRAGMENT_SHADING_RATE_BIT & params.options)
1354 checkFragmentShadingRateRequirements(context, params.numSamples);
1356 if (TEST_OPTION_VARIABLE_SAMPLE_LOCATIONS_BIT & params.options && !getSampleLocationsPropertiesEXT(context).variableSampleLocations)
1359 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), params.pipelineConstructionType);
1473 TestBase (Context& context, const TestParams params)
1475 , m_params (params)
1758 VerifyLocationTest (Context& context, const TestParams params) : TestBase(context, params) {}
1802 VerifyInterpolationTest (Context& context, const TestParams params) : TestBase(context, params) {}
1839 TestParams params;
1840 deMemset(¶ms, 0, sizeof(params));
1842 params.pipelineConstructionType = pipelineConstructionType;
1843 params.numSamples = numSamples;
1860 params.options = options.testFlags;
1862 addInstanceTestCaseWithPrograms<Test>(group, (getString(numSamples) + options.testSuffix).c_str(), checkSupportVerifyTests, initPrograms, params);
1864 params.options |= (TestOptionFlags)TEST_OPTION_DYNAMIC_STATE_BIT;
1865 addInstanceTestCaseWithPrograms<Test>(group, (getString(numSamples) + "_dynamic" + options.testSuffix).c_str(), checkSupportVerifyTests, initPrograms, params);
1867 params.options |= (TestOptionFlags)TEST_OPTION_CLOSELY_PACKED_BIT;
1868 addInstanceTestCaseWithPrograms<Test>(group, (getString(numSamples) + "_packed" + options.testSuffix).c_str(), checkSupportVerifyTests, initPrograms, params);
1926 void checkSupportDrawTests (Context& context, const TestParams params)
1930 if ((context.getDeviceProperties().limits.framebufferColorSampleCounts & params.numSamples) == 0u)
1933 if ((getSampleLocationsPropertiesEXT(context).sampleLocationSampleCounts & params.numSamples) == 0u)
1937 if (params.drawIn == TEST_DRAW_IN_SAME_SUBPASS && ((params.options & TEST_OPTION_SAME_PATTERN_BIT) == 0) && !getSampleLocationsPropertiesEXT(context).variableSampleLocations)
1940 if (TEST_OPTION_FRAGMENT_SHADING_RATE_BIT & params.options)
1941 checkFragmentShadingRateRequirements(context, params.numSamples);
1943 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), params.pipelineConstructionType);
1946 if (TEST_OPTION_WAIT_EVENTS_BIT & params.options &&
2058 DrawTest (Context& context, const TestParams params)
2060 , m_params (params)
3238 const TestParams params
3249 if (params.imageAspect != TEST_IMAGE_ASPECT_COLOR)
3252 if (((params.options & TEST_OPTION_SAME_PATTERN_BIT) == 0u) && (params.clears == TEST_CLEARS_NO_CLEAR))
3257 if (((params.options & TEST_OPTION_WAIT_EVENTS_BIT) != 0u) && (params.drawIn != TEST_DRAW_IN_RENDER_PASSES))
3261 if (((params.options & TEST_OPTION_GENERAL_LAYOUT_BIT) != 0u) && (params.drawIn == TEST_DRAW_IN_SAME_SUBPASS))
3265 caseName << getString(params.drawIn) << "_"
3266 << getString(params.clears) << (params.options != 0 ? "_" : "")
3267 << getTestOptionFlagsString(params.options);
3269 addInstanceTestCaseWithPrograms<DrawTest>(samplesGroup.get(), caseName.str().c_str(), checkSupportDrawTests, initPrograms, params);