Lines Matching defs:const
186 explicit RequiredExtensions (const char* ext) { add(ext); }
187 RequiredExtensions (const char* extA, const char* extB) { add(extA); add(extB); }
189 void add (const char* ext);
190 void add (const RequiredExtensions& other);
191 void check (const glu::ContextInfo&) const;
194 std::vector<const char*> m_extensions;
197 void RequiredExtensions::add (const char* ext)
205 void RequiredExtensions::add (const RequiredExtensions& other)
211 void RequiredExtensions::check (const glu::ContextInfo& ctxInfo) const
213 std::vector<const char*> failedExtensions;
598 static bool isCoreTextureTarget (const glu::ContextType& contextType, glw::GLenum target)
615 static bool isCoreTextureParam (const glu::ContextType& contextType, glw::GLenum pname)
632 static bool isCoreQuery (const glu::ContextType& contextType, QueryType query)
649 static bool isCoreTester (const glu::ContextType& contextType, TesterType tester)
666 static RequiredExtensions getTextureTargetExtension (const glu::ContextType& contextType, glw::GLenum target)
685 static RequiredExtensions getTextureParamExtension (const glu::ContextType& contextType, glw::GLenum pname)
704 static RequiredExtensions getQueryExtension (const glu::ContextType& contextType, QueryType query)
723 static RequiredExtensions getTesterExtension (const glu::ContextType& contextType, TesterType tester)
746 const glu::RenderContext& renderCtx,
747 const char* name,
748 const char* desc,
756 virtual void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const = 0;
759 const glu::RenderContext& m_renderCtx;
760 const glw::GLenum m_target;
761 const glw::GLenum m_pname;
762 const TesterType m_tester;
763 const QueryType m_type;
767 const glu::RenderContext& renderCtx,
768 const char* name,
769 const char* desc,
784 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(m_renderCtx));
821 IsTextureCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target);
827 const glu::RenderContext& m_renderCtx;
828 const glw::GLenum m_target;
831 IsTextureCase::IsTextureCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target)
840 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(m_renderCtx));
876 DepthStencilModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
877 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
880 DepthStencilModeCase::DepthStencilModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
885 void DepthStencilModeCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
887 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
895 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
901 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Toggle", "Toggle");
902 const glw::GLint depthComponentInt = GL_DEPTH_COMPONENT;
903 const glw::GLfloat depthComponentFloat = (glw::GLfloat)GL_DEPTH_COMPONENT;
924 const glw::GLint depthComponent = GL_DEPTH_COMPONENT;
925 const glw::GLint stencilIndex = GL_STENCIL_INDEX;
938 const glw::GLuint depthComponent = GL_DEPTH_COMPONENT;
939 const glw::GLuint stencilIndex = GL_STENCIL_INDEX;
954 TextureSRGBDecodeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
955 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
958 TextureSRGBDecodeCase::TextureSRGBDecodeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
963 void TextureSRGBDecodeCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
965 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
973 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
979 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Toggle", "Toggle");
980 const glw::GLint decodeInt = GL_DECODE_EXT;
981 const glw::GLfloat decodeFloat = (glw::GLfloat)GL_DECODE_EXT;
1002 const glw::GLint skipDecode = GL_SKIP_DECODE_EXT;
1003 const glw::GLint decode = GL_DECODE_EXT;
1016 const glw::GLuint skipDecode = GL_SKIP_DECODE_EXT;
1017 const glw::GLuint decode = GL_DECODE_EXT;
1032 TextureSwizzleCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1033 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1036 TextureSwizzleCase::TextureSwizzleCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1041 void TextureSwizzleCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1043 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1044 const int initialValue = (m_pname == GL_TEXTURE_SWIZZLE_R) ? (GL_RED) :
1052 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1057 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1058 const GLenum swizzleValues[] = {GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_ZERO, GL_ONE};
1066 const glw::GLint value = (glw::GLint)swizzleValues[ndx];
1074 const glw::GLuint value = swizzleValues[ndx];
1108 TextureWrapCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1109 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1112 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1117 void TextureWrapCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1119 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1123 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1128 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1129 const GLenum wrapValues[] = {GL_CLAMP_TO_EDGE, GL_REPEAT, GL_MIRRORED_REPEAT};
1137 const glw::GLint value = (glw::GLint)wrapValues[ndx];
1145 const glw::GLuint value = wrapValues[ndx];
1179 TextureFilterCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1180 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1183 TextureFilterCase::TextureFilterCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1188 void TextureFilterCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1190 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1197 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1202 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1221 const glw::GLint value = (glw::GLint)values[ndx];
1229 const glw::GLuint value = values[ndx];
1263 TextureLODCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1264 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1267 TextureLODCase::TextureLODCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1272 void TextureLODCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1274 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1275 const int initialValue = (m_pname == GL_TEXTURE_MIN_LOD) ? (-1000)
1281 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1286 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1287 const int numIterations = 20;
1296 const GLint ref = rnd.getInt(-1000, 1000);
1310 const GLuint ref = (glw::GLuint)rnd.getInt(0, 1000);
1321 const int minLimit = (querySupportsSigned(m_type)) ? (-1000) : (0);
1325 const GLfloat ref = rnd.getFloat((float)minLimit, 1000.f);
1337 const GLint ref = rnd.getInt(minLimit, 1000);
1351 TextureLevelCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1352 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1355 TextureLevelCase::TextureLevelCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1360 void TextureLevelCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1362 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1363 const int initialValue = (m_pname == GL_TEXTURE_BASE_LEVEL) ? (0)
1369 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1378 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Set", "Set");
1391 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1392 const int numIterations = 20;
1399 const GLint ref = rnd.getInt(0, 64000);
1400 const GLuint uRef = (glw::GLuint)ref;
1421 const GLint ref = rnd.getInt(0, 64000);
1431 const float nonSignificantOffsets[] = {-0.45f, -0.25f, 0, 0.45f}; // offsets O so that for any integers z in Z, o in O roundToClosestInt(z+o)==z
1433 const int numConversionIterations = 30;
1436 const GLint ref = rnd.getInt(1, 64000);
1453 TextureCompareModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1454 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1457 TextureCompareModeCase::TextureCompareModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1462 void TextureCompareModeCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1464 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1468 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1473 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1474 const GLenum modes[] = {GL_COMPARE_REF_TO_TEXTURE, GL_NONE};
1482 const glw::GLint value = (glw::GLint)modes[ndx];
1490 const glw::GLuint value = modes[ndx];
1524 TextureCompareFuncCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1525 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1528 TextureCompareFuncCase::TextureCompareFuncCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1533 void TextureCompareFuncCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1535 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1539 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1544 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1545 const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL, GL_ALWAYS, GL_NEVER};
1553 const glw::GLint value = (glw::GLint)compareFuncs[ndx];
1561 const glw::GLuint value = compareFuncs[ndx];
1595 TextureImmutableLevelsCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, QueryType type);
1596 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1599 TextureImmutableLevelsCase::TextureImmutableLevelsCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, QueryType type)
1604 void TextureImmutableLevelsCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1607 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1615 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Level", "Level");
1639 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Levels", "Levels = " + de::toString(level));
1667 TextureImmutableFormatCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, QueryType type);
1668 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1671 TextureImmutableFormatCase::TextureImmutableFormatCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, QueryType type)
1676 void TextureImmutableFormatCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1679 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1684 const tcu::ScopedLogSection subsection (m_testCtx.getLog(), "Immutable", "Immutable");
1738 const tcu::ScopedLogSection subsection (m_testCtx.getLog(), "Mutable", "Mutable");
1783 TextureWrapClampToBorderCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type);
1784 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1787 TextureWrapClampToBorderCase::TextureWrapClampToBorderCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, TesterType tester, QueryType type)
1792 void TextureWrapClampToBorderCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1810 TextureBorderColorCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, glw::GLenum target, QueryType type);
1811 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1814 TextureBorderColorCase::TextureBorderColorCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, glw::GLenum target, QueryType type)
1819 void TextureBorderColorCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1824 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1830 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1831 const tcu::IVec4 color (0x7FFFFFFF, -2, 3, -128);
1840 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1841 const tcu::UVec4 color (0x8000000ul, 2, 3, 128);
1852 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1853 const tcu::Vec4 color (0.25f, 1.0f, 0.0f, 0.77f);
1854 const tcu::IVec4 icolor (0x8000000ul, 0x7FFFFFFF, 0, 0x0FFFFFFF);
1872 const glu::RenderContext& renderCtx,
1873 const char* name,
1874 const char* desc,
1881 virtual void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const = 0;
1884 const glu::RenderContext& m_renderCtx;
1885 const glw::GLenum m_pname;
1886 const TesterType m_tester;
1887 const QueryType m_type;
1892 const glu::RenderContext& renderCtx,
1893 const char* name,
1894 const char* desc,
1908 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(m_renderCtx));
1945 SamplerWrapCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
1946 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
1949 SamplerWrapCase::SamplerWrapCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
1954 void SamplerWrapCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
1956 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
1960 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
1965 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
1966 const GLenum wrapValues[] = {GL_CLAMP_TO_EDGE, GL_REPEAT, GL_MIRRORED_REPEAT};
1974 const glw::GLint value = (glw::GLint)wrapValues[ndx];
1982 const glw::GLuint value = wrapValues[ndx];
2016 SamplerFilterCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2017 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2020 SamplerFilterCase::SamplerFilterCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
2025 void SamplerFilterCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2027 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
2028 const glw::GLenum initial = (m_pname == GL_TEXTURE_MAG_FILTER) ? (GL_LINEAR)
2034 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
2039 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2058 const glw::GLint value = (glw::GLint)values[ndx];
2066 const glw::GLuint value = values[ndx];
2100 SamplerLODCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2101 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2104 SamplerLODCase::SamplerLODCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
2109 void SamplerLODCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2111 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
2112 const int initialValue = (m_pname == GL_TEXTURE_MIN_LOD) ? (-1000)
2118 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
2123 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2124 const int numIterations = 20;
2133 const GLint ref = rnd.getInt(-1000, 1000);
2147 const GLuint ref = (glw::GLuint)rnd.getInt(0, 1000);
2158 const int minLimit = (querySupportsSigned(m_type)) ? (-1000) : (0);
2162 const GLfloat ref = rnd.getFloat((float)minLimit, 1000.f);
2174 const GLint ref = rnd.getInt(minLimit, 1000);
2188 SamplerCompareModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2189 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2192 SamplerCompareModeCase::SamplerCompareModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
2197 void SamplerCompareModeCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2199 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
2203 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
2208 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2209 const GLenum modes[] = {GL_COMPARE_REF_TO_TEXTURE, GL_NONE};
2217 const glw::GLint value = (glw::GLint)modes[ndx];
2225 const glw::GLuint value = modes[ndx];
2259 SamplerCompareFuncCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2260 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2263 SamplerCompareFuncCase::SamplerCompareFuncCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
2268 void SamplerCompareFuncCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2270 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
2274 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
2279 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2280 const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL, GL_ALWAYS, GL_NEVER};
2288 const glw::GLint value = (glw::GLint)compareFuncs[ndx];
2296 const glw::GLuint value = compareFuncs[ndx];
2330 SamplerWrapClampToBorderCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2331 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2334 SamplerWrapClampToBorderCase::SamplerWrapClampToBorderCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
2339 void SamplerWrapClampToBorderCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2357 SamplerSRGBDecodeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, TesterType tester, QueryType type);
2358 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2361 SamplerSRGBDecodeCase::SamplerSRGBDecodeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, TesterType tester, QueryType type)
2366 void SamplerSRGBDecodeCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2368 const bool isPureCase = isPureIntTester(m_tester) || isPureUintTester(m_tester);
2372 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
2377 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Toggle", "Toggle");
2378 const glw::GLint decodeInt = GL_DECODE_EXT;
2379 const glw::GLfloat decodeFloat = (glw::GLfloat)GL_DECODE_EXT;
2400 const glw::GLint skipDecode = GL_SKIP_DECODE_EXT;
2401 const glw::GLint decode = GL_DECODE_EXT;
2414 const glw::GLuint skipDecode = GL_SKIP_DECODE_EXT;
2415 const glw::GLuint decode = GL_DECODE_EXT;
2430 SamplerBorderColorCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* name, const char* desc, QueryType type);
2431 void test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const;
2434 SamplerBorderColorCase::SamplerBorderColorCase (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, QueryType type)
2443 void SamplerBorderColorCase::test (glu::CallLogWrapper& gl, tcu::ResultCollector& result) const
2448 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
2454 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2455 const tcu::IVec4 color (0x7FFFFFFF, -2, 3, -128);
2464 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2465 const tcu::UVec4 color (0x8000000ul, 2, 3, 128);
2476 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Set", "Set");
2477 const tcu::Vec4 color (0.25f, 1.0f, 0.0f, 0.77f);
2478 const tcu::IVec4 icolor (0x8000000ul, 0x7FFFFFFF, 0, 0x0FFFFFFF);
2535 tcu::TestCase* createIsTextureTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, glw::GLenum target)
2540 tcu::TestCase* createTexParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, QueryType queryType, glw::GLenum target, TesterType tester)
2621 tcu::TestCase* createSamplerParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, TesterType tester)