• Home
  • Raw
  • Download

Lines Matching refs:m_target

761 	const glw::GLenum			m_target;  member in deqp::gls::TextureStateQueryTests::__anonaefd4de40111::TextureTest
776 , m_target (target) in TextureTest()
789 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
790 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
829 const glw::GLenum m_target; member in deqp::gls::TextureStateQueryTests::__anonaefd4de40111::IsTextureCase
835 , m_target (target) in IsTextureCase()
845 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
846 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
860 gl.glBindTexture(m_target, textureId); in iterate()
891 gl.glBindTexture(m_target, *texture); in test()
897 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
906 gl.glTexParameteri(m_target, m_pname, GL_STENCIL_INDEX); in test()
908 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
910 gl.glTexParameteriv(m_target, m_pname, &depthComponentInt); in test()
912 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
914 gl.glTexParameterf(m_target, m_pname, GL_STENCIL_INDEX); in test()
916 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
918 gl.glTexParameterfv(m_target, m_pname, &depthComponentFloat); in test()
920 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
928 gl.glTexParameterIiv(m_target, m_pname, &stencilIndex); in test()
930 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
932 gl.glTexParameterIiv(m_target, m_pname, &depthComponent); in test()
934 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
942 gl.glTexParameterIuiv(m_target, m_pname, &stencilIndex); in test()
944 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
946 gl.glTexParameterIuiv(m_target, m_pname, &depthComponent); in test()
948 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
969 gl.glBindTexture(m_target, *texture); in test()
975 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
984 gl.glTexParameteri(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
986 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
988 gl.glTexParameteriv(m_target, m_pname, &decodeInt); in test()
990 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
992 gl.glTexParameterf(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
994 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
996 gl.glTexParameterfv(m_target, m_pname, &decodeFloat); in test()
998 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
1006 gl.glTexParameterIiv(m_target, m_pname, &skipDecode); in test()
1008 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
1010 gl.glTexParameterIiv(m_target, m_pname, &decode); in test()
1012 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
1020 gl.glTexParameterIuiv(m_target, m_pname, &skipDecode); in test()
1022 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
1024 gl.glTexParameterIuiv(m_target, m_pname, &decode); in test()
1026 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
1054 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1068 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1076 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1080 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
1087 gl.glTexParameteri(m_target, m_pname, swizzleValues[ndx]); in test()
1090 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
1097 gl.glTexParameterf(m_target, m_pname, (GLfloat)swizzleValues[ndx]); in test()
1100 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
1125 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_REPEAT, m_type); in test()
1139 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1147 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1151 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1158 gl.glTexParameteri(m_target, m_pname, wrapValues[ndx]); in test()
1161 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1168 gl.glTexParameterf(m_target, m_pname, (GLfloat)wrapValues[ndx]); in test()
1171 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1199 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1223 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1231 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1235 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1242 gl.glTexParameteri(m_target, m_pname, values[ndx]); in test()
1245 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1252 gl.glTexParameterf(m_target, m_pname, (GLfloat)values[ndx]); in test()
1255 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1283 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1299 gl.glTexParameterIiv(m_target, m_pname, &ref); in test()
1302 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1313 gl.glTexParameterIuiv(m_target, m_pname, &ref); in test()
1316 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1328 gl.glTexParameterf(m_target, m_pname, ref); in test()
1331 verifyStateTextureParamFloat(result, gl, m_target, m_pname, ref, m_type); in test()
1340 gl.glTexParameteri(m_target, m_pname, ref); in test()
1343 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1371 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1374 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1375 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1381 gl.glTexParameteri(m_target, m_pname, 0); in test()
1383 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1385 gl.glTexParameterf(m_target, m_pname, 0.0f); in test()
1387 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1405 gl.glTexParameterIiv(m_target, m_pname, &ref); in test()
1411 gl.glTexParameterIuiv(m_target, m_pname, &uRef); in test()
1415 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1424 gl.glTexParameteri(m_target, m_pname, ref); in test()
1427 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1441 gl.glTexParameterf(m_target, m_pname, ((GLfloat)ref) + nonSignificantOffsets[offsetNdx]); in test()
1444 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1470 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_NONE, m_type); in test()
1484 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1492 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1496 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1503 gl.glTexParameteri(m_target, m_pname, modes[ndx]); in test()
1506 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1513 gl.glTexParameterf(m_target, m_pname, (GLfloat)modes[ndx]); in test()
1516 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1541 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_LEQUAL, m_type); in test()
1555 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1563 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1567 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1574 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
1577 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1584 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
1587 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1609 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1612 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1613 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1620 gl.glBindTexture(m_target, textureID); in test()
1623 if (m_target == GL_TEXTURE_2D_MULTISAMPLE) in test()
1624 gl.glTexStorage2DMultisample(m_target, 2, GL_RGB8, 64, 64, GL_FALSE); in test()
1625 else if (m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1626 gl.glTexStorage3DMultisample(m_target, 2, GL_RGB8, 64, 64, 2, GL_FALSE); in test()
1631 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); in test()
1644 gl.glBindTexture(m_target, textureID); in test()
1647 if (m_target == GL_TEXTURE_2D || m_target == GL_TEXTURE_CUBE_MAP) in test()
1648 gl.glTexStorage2D(m_target, level, GL_RGB8, 64, 64); in test()
1649 else if (m_target == GL_TEXTURE_2D_ARRAY || m_target == GL_TEXTURE_3D) in test()
1650 gl.glTexStorage3D(m_target, level, GL_RGB8, 64, 64, 64); in test()
1651 else if (m_target == GL_TEXTURE_CUBE_MAP_ARRAY) in test()
1652 gl.glTexStorage3D(m_target, level, GL_RGB8, 64, 64, 6 * 2); in test()
1657 verifyStateTextureParamInteger(result, gl, m_target, m_pname, level, m_type); in test()
1681 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1689 gl.glBindTexture(m_target, textureID); in test()
1692 switch (m_target) in test()
1697 gl.glTexStorage2D(m_target, 1, GL_RGBA8, 32, 32); in test()
1703 gl.glTexStorage3D(m_target, 1, GL_RGBA8, 32, 32, 8); in test()
1708 gl.glTexStorage2DMultisample(m_target, 2, GL_RGB8, 64, 64, GL_FALSE); in test()
1713 gl.glTexStorage3DMultisample(m_target, 2, GL_RGB8, 64, 64, 2, GL_FALSE); in test()
1718 gl.glTexStorage3D(m_target, 1, GL_RGBA8, 32, 32, 6 * 2); in test()
1726 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); in test()
1733 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1734 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1743 gl.glBindTexture(m_target, textureID); in test()
1746 switch (m_target) in test()
1750 gl.glTexImage2D(m_target, 0, GL_RGBA8, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1761 gl.glTexImage3D(m_target, 0, GL_RGBA8, 32, 32, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1766 gl.glTexImage3D(m_target, 0, GL_RGBA8, 32, 32, 6 * 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1774 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1795 gl.glTexParameteri(m_target, m_pname, GL_CLAMP_TO_BORDER_EXT); in test()
1797 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
1799 gl.glTexParameteri(m_target, m_pname, GL_REPEAT); in test()
1802 gl.glTexParameterf(m_target, m_pname, (GLfloat)GL_CLAMP_TO_BORDER_EXT); in test()
1805 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
1826 …verifyStateTextureParamFloatVec4(result, gl, m_target, m_pname, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),… in test()
1834 gl.glTexParameterIiv(m_target, m_pname, color.getPtr()); in test()
1837 verifyStateTextureParamIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
1844 gl.glTexParameterIuiv(m_target, m_pname, color.getPtr()); in test()
1847 verifyStateTextureParamUnsignedIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
1857 gl.glTexParameterfv(m_target, m_pname, color.getPtr()); in test()
1860 verifyStateTextureParamFloatVec4(result, gl, m_target, m_pname, color, m_type); in test()
1862 gl.glTexParameteriv(m_target, m_pname, icolor.getPtr()); in test()
1865 verifyStateTextureParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()
1889 glw::GLuint m_target; member in deqp::gls::TextureStateQueryTests::__anonaefd4de40111::SamplerTest
1903 , m_target (0) in SamplerTest()
1935 m_target = *sampler; in iterate()
1937 m_target = 0; in iterate()
1962 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_REPEAT, m_type); in test()
1976 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
1984 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
1988 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1995 gl.glSamplerParameteri(m_target, m_pname, wrapValues[ndx]); in test()
1998 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
2005 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)wrapValues[ndx]); in test()
2008 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
2036 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
2060 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2068 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2072 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
2079 gl.glSamplerParameteri(m_target, m_pname, values[ndx]); in test()
2082 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
2089 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)values[ndx]); in test()
2092 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
2120 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
2136 gl.glSamplerParameterIiv(m_target, m_pname, &ref); in test()
2139 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2150 gl.glSamplerParameterIuiv(m_target, m_pname, &ref); in test()
2153 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2165 gl.glSamplerParameterf(m_target, m_pname, ref); in test()
2168 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, ref, m_type); in test()
2177 gl.glSamplerParameteri(m_target, m_pname, ref); in test()
2180 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2205 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_NONE, m_type); in test()
2219 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2227 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2231 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2238 gl.glSamplerParameteri(m_target, m_pname, modes[ndx]); in test()
2241 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2248 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)modes[ndx]); in test()
2251 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2276 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_LEQUAL, m_type); in test()
2290 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2298 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2302 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2309 gl.glSamplerParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
2312 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2319 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
2322 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2342 gl.glSamplerParameteri(m_target, m_pname, GL_CLAMP_TO_BORDER_EXT); in test()
2344 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
2346 gl.glSamplerParameteri(m_target, m_pname, GL_REPEAT); in test()
2349 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)GL_CLAMP_TO_BORDER_EXT); in test()
2352 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
2374 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2382 gl.glSamplerParameteri(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
2384 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2386 gl.glSamplerParameteriv(m_target, m_pname, &decodeInt); in test()
2388 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2390 gl.glSamplerParameterf(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
2392 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2394 gl.glSamplerParameterfv(m_target, m_pname, &decodeFloat); in test()
2396 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2404 gl.glSamplerParameterIiv(m_target, m_pname, &skipDecode); in test()
2406 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2408 gl.glSamplerParameterIiv(m_target, m_pname, &decode); in test()
2410 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2418 gl.glSamplerParameterIuiv(m_target, m_pname, &skipDecode); in test()
2420 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2422 gl.glSamplerParameterIuiv(m_target, m_pname, &decode); in test()
2424 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2450 …verifyStateSamplerParamFloatVec4(result, gl, m_target, m_pname, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),… in test()
2458 gl.glSamplerParameterIiv(m_target, m_pname, color.getPtr()); in test()
2461 verifyStateSamplerParamIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
2468 gl.glSamplerParameterIuiv(m_target, m_pname, color.getPtr()); in test()
2471 verifyStateSamplerParamUnsignedIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
2481 gl.glSamplerParameterfv(m_target, m_pname, color.getPtr()); in test()
2484 verifyStateSamplerParamFloatVec4(result, gl, m_target, m_pname, color, m_type); in test()
2486 gl.glSamplerParameteriv(m_target, m_pname, icolor.getPtr()); in test()
2489 verifyStateSamplerParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()