• Home
  • Raw
  • Download

Lines Matching refs:tester

47 static glw::GLenum mapTesterToPname (TesterType tester)  in mapTesterToPname()  argument
52 switch (tester) in mapTesterToPname()
96 static bool isPureIntTester (TesterType tester) in isPureIntTester() argument
103 switch (tester) in isPureIntTester()
139 static bool isPureUintTester (TesterType tester) in isPureUintTester() argument
146 switch (tester) in isPureUintTester()
300 static bool isCoreTester (TesterType tester) in isCoreTester() argument
302 return tester == TESTER_TEXTURE_SWIZZLE_R || in isCoreTester()
303 tester == TESTER_TEXTURE_SWIZZLE_G || in isCoreTester()
304 tester == TESTER_TEXTURE_SWIZZLE_B || in isCoreTester()
305 tester == TESTER_TEXTURE_SWIZZLE_A || in isCoreTester()
306 tester == TESTER_TEXTURE_WRAP_S || in isCoreTester()
307 tester == TESTER_TEXTURE_WRAP_T || in isCoreTester()
308 tester == TESTER_TEXTURE_WRAP_R || in isCoreTester()
309 tester == TESTER_TEXTURE_MAG_FILTER || in isCoreTester()
310 tester == TESTER_TEXTURE_MIN_FILTER || in isCoreTester()
311 tester == TESTER_TEXTURE_MIN_LOD || in isCoreTester()
312 tester == TESTER_TEXTURE_MAX_LOD || in isCoreTester()
313 tester == TESTER_TEXTURE_BASE_LEVEL || in isCoreTester()
314 tester == TESTER_TEXTURE_MAX_LEVEL || in isCoreTester()
315 tester == TESTER_TEXTURE_COMPARE_MODE || in isCoreTester()
316 tester == TESTER_TEXTURE_COMPARE_FUNC || in isCoreTester()
317 tester == TESTER_TEXTURE_IMMUTABLE_LEVELS || in isCoreTester()
318 tester == TESTER_TEXTURE_IMMUTABLE_FORMAT; in isCoreTester()
321 static RequiredExtensions getTesterExtension (TesterType tester) in getTesterExtension() argument
323 DE_UNREF(tester); in getTesterExtension()
395 static bool isCoreTester (TesterType tester) in isCoreTester() argument
397 return es30::isCoreTester(tester) || in isCoreTester()
398 tester == TESTER_DEPTH_STENCIL_TEXTURE_MODE; in isCoreTester()
401 static RequiredExtensions getTesterExtension (TesterType tester) in getTesterExtension() argument
405 switch (tester) in getTesterExtension()
501 static bool isCoreTester (TesterType tester) in isCoreTester() argument
505 return es31::isCoreTester(tester) || in isCoreTester()
506 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_SWIZZLE_R) || in isCoreTester()
507 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_SWIZZLE_G) || in isCoreTester()
508 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_SWIZZLE_B) || in isCoreTester()
509 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_SWIZZLE_A) || in isCoreTester()
510 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_WRAP_S) || in isCoreTester()
511 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_WRAP_T) || in isCoreTester()
512 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_WRAP_R) || in isCoreTester()
513 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_MAG_FILTER) || in isCoreTester()
514 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_MIN_FILTER) || in isCoreTester()
515 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_MIN_LOD) || in isCoreTester()
516 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_MAX_LOD) || in isCoreTester()
517 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_BASE_LEVEL) || in isCoreTester()
518 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_MAX_LEVEL) || in isCoreTester()
519 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_COMPARE_MODE) || in isCoreTester()
520 COMPARE_PURE_SETTERS(tester, TESTER_TEXTURE_COMPARE_FUNC) || in isCoreTester()
521 COMPARE_PURE_SETTERS(tester, TESTER_DEPTH_STENCIL_TEXTURE_MODE) || in isCoreTester()
522 tester == TESTER_TEXTURE_WRAP_S_CLAMP_TO_BORDER || in isCoreTester()
523 tester == TESTER_TEXTURE_WRAP_T_CLAMP_TO_BORDER || in isCoreTester()
524 tester == TESTER_TEXTURE_WRAP_R_CLAMP_TO_BORDER || in isCoreTester()
525 tester == TESTER_TEXTURE_BORDER_COLOR; in isCoreTester()
530 static RequiredExtensions getTesterExtension (TesterType tester) in getTesterExtension() argument
534 switch (tester) in getTesterExtension()
595 static bool isCoreTester (const glu::ContextType& contextType, TesterType tester) in isCoreTester() argument
598 return es32::isCoreTester(tester); in isCoreTester()
600 return es31::isCoreTester(tester); in isCoreTester()
602 return es30::isCoreTester(tester); in isCoreTester()
661 …atic RequiredExtensions getTesterExtension (const glu::ContextType& contextType, TesterType tester) in getTesterExtension() argument
663 DE_ASSERT(!isCoreTester(contextType, tester)); in getTesterExtension()
666 return es32::getTesterExtension(tester); in getTesterExtension()
668 return es31::getTesterExtension(tester); in getTesterExtension()
670 return es30::getTesterExtension(tester); in getTesterExtension()
686 TesterType tester,
707 TesterType tester, in TextureTest() argument
712 , m_pname (mapTesterToPname(tester)) in TextureTest()
713 , m_tester (tester) in TextureTest()
812 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
816 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in DepthStencilModeCase() argument
817 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in DepthStencilModeCase()
890 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
894 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureSRGBDecodeCase() argument
895 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureSRGBDecodeCase()
968 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
972 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureSwizzleCase() argument
973 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureSwizzleCase()
1044 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1048 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureWrapCase() argument
1049 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureWrapCase()
1115 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1119 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureFilterCase() argument
1120 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureFilterCase()
1199 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1203 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureLODCase() argument
1204 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureLODCase()
1287 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1291 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureLevelCase() argument
1292 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureLevelCase()
1389 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1393 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureCompareModeCase() argument
1394 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureCompareModeCase()
1460 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1464 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureCompareFuncCase() argument
1465 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureCompareFuncCase()
1719 …ontext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1723 …nderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type) in TextureWrapClampToBorderCase() argument
1724 : TextureTest(testCtx, renderCtx, name, desc, target, tester, type) in TextureWrapClampToBorderCase()
1811 TesterType tester,
1831 TesterType tester, in SamplerTest() argument
1835 , m_pname (mapTesterToPname(tester)) in SamplerTest()
1836 , m_tester (tester) in SamplerTest()
1881 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
1885 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerWrapCase() argument
1886 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerWrapCase()
1952 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
1956 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerFilterCase() argument
1957 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerFilterCase()
2036 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2040 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerLODCase() argument
2041 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerLODCase()
2124 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2128 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerCompareModeCase() argument
2129 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerCompareModeCase()
2195 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2199 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerCompareFuncCase() argument
2200 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerCompareFuncCase()
2266 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2270 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerWrapClampToBorderCase() argument
2271 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerWrapClampToBorderCase()
2293 …nderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2297 …u::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type) in SamplerSRGBDecodeCase() argument
2298 : SamplerTest(testCtx, renderCtx, name, desc, tester, type) in SamplerSRGBDecodeCase()
2430 bool isLegalTesterForTarget (glw::GLenum target, TesterType tester) in isLegalTesterForTarget() argument
2433 …if ((tester == TESTER_TEXTURE_WRAP_R || tester == TESTER_TEXTURE_WRAP_R_CLAMP_TO_BORDER) && targe… in isLegalTesterForTarget()
2437 if (isMultisampleTarget(target) && isSamplerStateTester(tester)) in isLegalTesterForTarget()
2453 bool isSamplerStateTester (TesterType tester) in isSamplerStateTester() argument
2455 return tester == TESTER_TEXTURE_WRAP_S || in isSamplerStateTester()
2456 tester == TESTER_TEXTURE_WRAP_T || in isSamplerStateTester()
2457 tester == TESTER_TEXTURE_WRAP_R || in isSamplerStateTester()
2458 tester == TESTER_TEXTURE_MAG_FILTER || in isSamplerStateTester()
2459 tester == TESTER_TEXTURE_MIN_FILTER || in isSamplerStateTester()
2460 tester == TESTER_TEXTURE_MIN_LOD || in isSamplerStateTester()
2461 tester == TESTER_TEXTURE_MAX_LOD || in isSamplerStateTester()
2462 tester == TESTER_TEXTURE_COMPARE_MODE || in isSamplerStateTester()
2463 tester == TESTER_TEXTURE_COMPARE_FUNC || in isSamplerStateTester()
2464 tester == TESTER_TEXTURE_SRGB_DECODE_EXT || in isSamplerStateTester()
2465 tester == TESTER_TEXTURE_BORDER_COLOR || in isSamplerStateTester()
2466 tester == TESTER_TEXTURE_WRAP_S_CLAMP_TO_BORDER || in isSamplerStateTester()
2467 tester == TESTER_TEXTURE_WRAP_T_CLAMP_TO_BORDER || in isSamplerStateTester()
2468 tester == TESTER_TEXTURE_WRAP_R_CLAMP_TO_BORDER; in isSamplerStateTester()
2476 …& name, const std::string& description, QueryType queryType, glw::GLenum target, TesterType tester) in createTexParamTest() argument
2478 if (isMultisampleTarget(target) && isSamplerStateTester(tester)) in createTexParamTest()
2488 if (target != GL_TEXTURE_3D && mapTesterToPname(tester) == GL_TEXTURE_WRAP_R) in createTexParamTest()
2496 switch (tester) in createTexParamTest()
2502 …xtureSwizzleCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2507 …return new TextureWrapCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, … in createTexParamTest()
2511 …extureFilterCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2515 …return new TextureLODCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, q… in createTexParamTest()
2519 …TextureLevelCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2522 …eCompareModeCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2525 …eCompareFuncCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2536 …lampToBorderCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2539 …hStencilModeCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2542 …reSRGBDecodeCase(testCtx, renderCtx, name.c_str(), description.c_str(), target, tester, queryType); in createTexParamTest()
2557 …ring& name, const std::string& description, StateQueryUtil::QueryType queryType, TesterType tester) in createSamplerParamTest() argument
2561 switch (tester) in createSamplerParamTest()
2566 …return new SamplerWrapCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, queryTyp… in createSamplerParamTest()
2570 …return new SamplerFilterCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, queryT… in createSamplerParamTest()
2574 …return new SamplerLODCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, queryType… in createSamplerParamTest()
2577 …return new SamplerCompareModeCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, q… in createSamplerParamTest()
2580 …return new SamplerCompareFuncCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, q… in createSamplerParamTest()
2585 …lerWrapClampToBorderCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, queryType); in createSamplerParamTest()
2588 …return new SamplerSRGBDecodeCase(testCtx, renderCtx, name.c_str(), description.c_str(), tester, qu… in createSamplerParamTest()