• Home
  • Raw
  • Download

Lines Matching refs:m_target

696 	const glw::GLenum			m_target;  member in deqp::gls::TextureStateQueryTests::__anon459131ba0111::TextureTest
711 , m_target (target) in TextureTest()
724 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
725 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
764 const glw::GLenum m_target; member in deqp::gls::TextureStateQueryTests::__anon459131ba0111::IsTextureCase
770 , m_target (target) in IsTextureCase()
780 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
781 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
795 gl.glBindTexture(m_target, textureId); in iterate()
826 gl.glBindTexture(m_target, *texture); in test()
832 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
841 gl.glTexParameteri(m_target, m_pname, GL_STENCIL_INDEX); in test()
843 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
845 gl.glTexParameteriv(m_target, m_pname, &depthComponentInt); in test()
847 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
849 gl.glTexParameterf(m_target, m_pname, GL_STENCIL_INDEX); in test()
851 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
853 gl.glTexParameterfv(m_target, m_pname, &depthComponentFloat); in test()
855 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
863 gl.glTexParameterIiv(m_target, m_pname, &stencilIndex); in test()
865 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
867 gl.glTexParameterIiv(m_target, m_pname, &depthComponent); in test()
869 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
877 gl.glTexParameterIuiv(m_target, m_pname, &stencilIndex); in test()
879 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
881 gl.glTexParameterIuiv(m_target, m_pname, &depthComponent); in test()
883 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
904 gl.glBindTexture(m_target, *texture); in test()
910 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
919 gl.glTexParameteri(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
921 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
923 gl.glTexParameteriv(m_target, m_pname, &decodeInt); in test()
925 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
927 gl.glTexParameterf(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
929 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
931 gl.glTexParameterfv(m_target, m_pname, &decodeFloat); in test()
933 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
941 gl.glTexParameterIiv(m_target, m_pname, &skipDecode); in test()
943 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
945 gl.glTexParameterIiv(m_target, m_pname, &decode); in test()
947 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
955 gl.glTexParameterIuiv(m_target, m_pname, &skipDecode); in test()
957 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
959 gl.glTexParameterIuiv(m_target, m_pname, &decode); in test()
961 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
989 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1003 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1011 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1015 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
1022 gl.glTexParameteri(m_target, m_pname, swizzleValues[ndx]); in test()
1025 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
1032 gl.glTexParameterf(m_target, m_pname, (GLfloat)swizzleValues[ndx]); in test()
1035 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
1060 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_REPEAT, m_type); in test()
1074 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1082 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1086 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1093 gl.glTexParameteri(m_target, m_pname, wrapValues[ndx]); in test()
1096 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1103 gl.glTexParameterf(m_target, m_pname, (GLfloat)wrapValues[ndx]); in test()
1106 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1134 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1158 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1166 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1170 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1177 gl.glTexParameteri(m_target, m_pname, values[ndx]); in test()
1180 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1187 gl.glTexParameterf(m_target, m_pname, (GLfloat)values[ndx]); in test()
1190 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1218 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1234 gl.glTexParameterIiv(m_target, m_pname, &ref); in test()
1237 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1248 gl.glTexParameterIuiv(m_target, m_pname, &ref); in test()
1251 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1263 gl.glTexParameterf(m_target, m_pname, ref); in test()
1266 verifyStateTextureParamFloat(result, gl, m_target, m_pname, ref, m_type); in test()
1275 gl.glTexParameteri(m_target, m_pname, ref); in test()
1278 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1306 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1309 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1310 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1316 gl.glTexParameteri(m_target, m_pname, 0); in test()
1318 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1320 gl.glTexParameterf(m_target, m_pname, 0.0f); in test()
1322 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1340 gl.glTexParameterIiv(m_target, m_pname, &ref); in test()
1346 gl.glTexParameterIuiv(m_target, m_pname, &uRef); in test()
1350 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1359 gl.glTexParameteri(m_target, m_pname, ref); in test()
1362 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1376 gl.glTexParameterf(m_target, m_pname, ((GLfloat)ref) + nonSignificantOffsets[offsetNdx]); in test()
1379 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1405 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_NONE, m_type); in test()
1419 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1427 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1431 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1438 gl.glTexParameteri(m_target, m_pname, modes[ndx]); in test()
1441 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1448 gl.glTexParameterf(m_target, m_pname, (GLfloat)modes[ndx]); in test()
1451 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1476 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_LEQUAL, m_type); in test()
1490 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1498 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1502 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1509 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
1512 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1519 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
1522 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1544 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1547 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1548 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1555 gl.glBindTexture(m_target, textureID); in test()
1558 if (m_target == GL_TEXTURE_2D_MULTISAMPLE) in test()
1559 gl.glTexStorage2DMultisample(m_target, 2, GL_RGB8, 64, 64, GL_FALSE); in test()
1560 else if (m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1561 gl.glTexStorage3DMultisample(m_target, 2, GL_RGB8, 64, 64, 2, GL_FALSE); in test()
1566 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); in test()
1579 gl.glBindTexture(m_target, textureID); in test()
1582 if (m_target == GL_TEXTURE_2D || m_target == GL_TEXTURE_CUBE_MAP) in test()
1583 gl.glTexStorage2D(m_target, level, GL_RGB8, 64, 64); in test()
1584 else if (m_target == GL_TEXTURE_2D_ARRAY || m_target == GL_TEXTURE_3D) in test()
1585 gl.glTexStorage3D(m_target, level, GL_RGB8, 64, 64, 64); in test()
1586 else if (m_target == GL_TEXTURE_CUBE_MAP_ARRAY) in test()
1587 gl.glTexStorage3D(m_target, level, GL_RGB8, 64, 64, 6 * 2); in test()
1592 verifyStateTextureParamInteger(result, gl, m_target, m_pname, level, m_type); in test()
1616 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1624 gl.glBindTexture(m_target, textureID); in test()
1627 switch (m_target) in test()
1632 gl.glTexStorage2D(m_target, 1, GL_RGBA8, 32, 32); in test()
1638 gl.glTexStorage3D(m_target, 1, GL_RGBA8, 32, 32, 8); in test()
1643 gl.glTexStorage2DMultisample(m_target, 2, GL_RGB8, 64, 64, GL_FALSE); in test()
1648 gl.glTexStorage3DMultisample(m_target, 2, GL_RGB8, 64, 64, 2, GL_FALSE); in test()
1653 gl.glTexStorage3D(m_target, 1, GL_RGBA8, 32, 32, 6 * 2); in test()
1661 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); in test()
1668 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1669 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1678 gl.glBindTexture(m_target, textureID); in test()
1681 switch (m_target) in test()
1685 gl.glTexImage2D(m_target, 0, GL_RGBA8, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1696 gl.glTexImage3D(m_target, 0, GL_RGBA8, 32, 32, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1701 gl.glTexImage3D(m_target, 0, GL_RGBA8, 32, 32, 6 * 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1709 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1730 gl.glTexParameteri(m_target, m_pname, GL_CLAMP_TO_BORDER_EXT); in test()
1732 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
1734 gl.glTexParameteri(m_target, m_pname, GL_REPEAT); in test()
1737 gl.glTexParameterf(m_target, m_pname, (GLfloat)GL_CLAMP_TO_BORDER_EXT); in test()
1740 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
1761 …verifyStateTextureParamFloatVec4(result, gl, m_target, m_pname, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),… in test()
1769 gl.glTexParameterIiv(m_target, m_pname, color.getPtr()); in test()
1772 verifyStateTextureParamIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
1779 gl.glTexParameterIuiv(m_target, m_pname, color.getPtr()); in test()
1782 verifyStateTextureParamUnsignedIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
1792 gl.glTexParameterfv(m_target, m_pname, color.getPtr()); in test()
1795 verifyStateTextureParamFloatVec4(result, gl, m_target, m_pname, color, m_type); in test()
1797 gl.glTexParameteriv(m_target, m_pname, icolor.getPtr()); in test()
1800 verifyStateTextureParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()
1824 glw::GLuint m_target; member in deqp::gls::TextureStateQueryTests::__anon459131ba0111::SamplerTest
1838 , m_target (0) in SamplerTest()
1870 m_target = *sampler; in iterate()
1872 m_target = 0; in iterate()
1897 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_REPEAT, m_type); in test()
1911 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
1919 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
1923 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1930 gl.glSamplerParameteri(m_target, m_pname, wrapValues[ndx]); in test()
1933 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1940 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)wrapValues[ndx]); in test()
1943 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1971 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1995 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2003 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2007 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
2014 gl.glSamplerParameteri(m_target, m_pname, values[ndx]); in test()
2017 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
2024 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)values[ndx]); in test()
2027 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
2055 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
2071 gl.glSamplerParameterIiv(m_target, m_pname, &ref); in test()
2074 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2085 gl.glSamplerParameterIuiv(m_target, m_pname, &ref); in test()
2088 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2100 gl.glSamplerParameterf(m_target, m_pname, ref); in test()
2103 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, ref, m_type); in test()
2112 gl.glSamplerParameteri(m_target, m_pname, ref); in test()
2115 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2140 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_NONE, m_type); in test()
2154 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2162 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2166 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2173 gl.glSamplerParameteri(m_target, m_pname, modes[ndx]); in test()
2176 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2183 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)modes[ndx]); in test()
2186 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2211 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_LEQUAL, m_type); in test()
2225 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2233 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2237 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2244 gl.glSamplerParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
2247 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2254 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
2257 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2277 gl.glSamplerParameteri(m_target, m_pname, GL_CLAMP_TO_BORDER_EXT); in test()
2279 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
2281 gl.glSamplerParameteri(m_target, m_pname, GL_REPEAT); in test()
2284 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)GL_CLAMP_TO_BORDER_EXT); in test()
2287 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
2309 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2317 gl.glSamplerParameteri(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
2319 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2321 gl.glSamplerParameteriv(m_target, m_pname, &decodeInt); in test()
2323 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2325 gl.glSamplerParameterf(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
2327 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2329 gl.glSamplerParameterfv(m_target, m_pname, &decodeFloat); in test()
2331 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2339 gl.glSamplerParameterIiv(m_target, m_pname, &skipDecode); in test()
2341 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2343 gl.glSamplerParameterIiv(m_target, m_pname, &decode); in test()
2345 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2353 gl.glSamplerParameterIuiv(m_target, m_pname, &skipDecode); in test()
2355 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2357 gl.glSamplerParameterIuiv(m_target, m_pname, &decode); in test()
2359 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2385 …verifyStateSamplerParamFloatVec4(result, gl, m_target, m_pname, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),… in test()
2393 gl.glSamplerParameterIiv(m_target, m_pname, color.getPtr()); in test()
2396 verifyStateSamplerParamIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
2403 gl.glSamplerParameterIuiv(m_target, m_pname, color.getPtr()); in test()
2406 verifyStateSamplerParamUnsignedIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
2416 gl.glSamplerParameterfv(m_target, m_pname, color.getPtr()); in test()
2419 verifyStateSamplerParamFloatVec4(result, gl, m_target, m_pname, color, m_type); in test()
2421 gl.glSamplerParameteriv(m_target, m_pname, icolor.getPtr()); in test()
2424 verifyStateSamplerParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()