Lines Matching refs:m_target
575 const glw::GLenum m_target; member in deqp::gls::TextureStateQueryTests::__anonc22dbc7d0111::TextureTest
590 , m_target (target) in TextureTest()
603 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
604 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
643 const glw::GLenum m_target; member in deqp::gls::TextureStateQueryTests::__anonc22dbc7d0111::IsTextureCase
649 , m_target (target) in IsTextureCase()
659 if (!isCoreTextureTarget(m_renderCtx.getType(), m_target)) in init()
660 extensions.add(getTextureTargetExtension(m_renderCtx.getType(), m_target)); in init()
674 gl.glBindTexture(m_target, textureId); in iterate()
705 gl.glBindTexture(m_target, *texture); in test()
711 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
720 gl.glTexParameteri(m_target, m_pname, GL_STENCIL_INDEX); in test()
722 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
724 gl.glTexParameteriv(m_target, m_pname, &depthComponentInt); in test()
726 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
728 gl.glTexParameterf(m_target, m_pname, GL_STENCIL_INDEX); in test()
730 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
732 gl.glTexParameterfv(m_target, m_pname, &depthComponentFloat); in test()
734 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
742 gl.glTexParameterIiv(m_target, m_pname, &stencilIndex); in test()
744 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
746 gl.glTexParameterIiv(m_target, m_pname, &depthComponent); in test()
748 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
756 gl.glTexParameterIuiv(m_target, m_pname, &stencilIndex); in test()
758 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
760 gl.glTexParameterIuiv(m_target, m_pname, &depthComponent); in test()
762 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
783 gl.glBindTexture(m_target, *texture); in test()
789 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
798 gl.glTexParameteri(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
800 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
802 gl.glTexParameteriv(m_target, m_pname, &decodeInt); in test()
804 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
806 gl.glTexParameterf(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
808 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
810 gl.glTexParameterfv(m_target, m_pname, &decodeFloat); in test()
812 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
820 gl.glTexParameterIiv(m_target, m_pname, &skipDecode); in test()
822 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
824 gl.glTexParameterIiv(m_target, m_pname, &decode); in test()
826 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
834 gl.glTexParameterIuiv(m_target, m_pname, &skipDecode); in test()
836 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
838 gl.glTexParameterIuiv(m_target, m_pname, &decode); in test()
840 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
868 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
882 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
890 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
894 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
901 gl.glTexParameteri(m_target, m_pname, swizzleValues[ndx]); in test()
904 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
911 gl.glTexParameterf(m_target, m_pname, (GLfloat)swizzleValues[ndx]); in test()
914 verifyStateTextureParamInteger(result, gl, m_target, m_pname, swizzleValues[ndx], m_type); in test()
939 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_REPEAT, m_type); in test()
953 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
961 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
965 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
972 gl.glTexParameteri(m_target, m_pname, wrapValues[ndx]); in test()
975 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
982 gl.glTexParameterf(m_target, m_pname, (GLfloat)wrapValues[ndx]); in test()
985 verifyStateTextureParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1013 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1037 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1045 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1049 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1056 gl.glTexParameteri(m_target, m_pname, values[ndx]); in test()
1059 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1066 gl.glTexParameterf(m_target, m_pname, (GLfloat)values[ndx]); in test()
1069 verifyStateTextureParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1097 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1113 gl.glTexParameterIiv(m_target, m_pname, &ref); in test()
1116 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1127 gl.glTexParameterIuiv(m_target, m_pname, &ref); in test()
1130 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1142 gl.glTexParameterf(m_target, m_pname, ref); in test()
1145 verifyStateTextureParamFloat(result, gl, m_target, m_pname, ref, m_type); in test()
1154 gl.glTexParameteri(m_target, m_pname, ref); in test()
1157 verifyStateTextureParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1185 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1188 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1189 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1195 gl.glTexParameteri(m_target, m_pname, 0); in test()
1197 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1199 gl.glTexParameterf(m_target, m_pname, 0.0f); in test()
1201 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1219 gl.glTexParameterIiv(m_target, m_pname, &ref); in test()
1225 gl.glTexParameterIuiv(m_target, m_pname, &uRef); in test()
1229 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1238 gl.glTexParameteri(m_target, m_pname, ref); in test()
1241 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1255 gl.glTexParameterf(m_target, m_pname, ((GLfloat)ref) + nonSignificantOffsets[offsetNdx]); in test()
1258 verifyStateTextureParamInteger(result, gl, m_target, m_pname, ref, m_type); in test()
1284 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_NONE, m_type); in test()
1298 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1306 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1310 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1317 gl.glTexParameteri(m_target, m_pname, modes[ndx]); in test()
1320 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1327 gl.glTexParameterf(m_target, m_pname, (GLfloat)modes[ndx]); in test()
1330 verifyStateTextureParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
1355 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_LEQUAL, m_type); in test()
1369 gl.glTexParameterIiv(m_target, m_pname, &value); in test()
1377 gl.glTexParameterIuiv(m_target, m_pname, &value); in test()
1381 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1388 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
1391 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1398 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
1401 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1423 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1426 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1427 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1434 gl.glBindTexture(m_target, textureID); in test()
1437 if (m_target == GL_TEXTURE_2D_MULTISAMPLE) in test()
1438 gl.glTexStorage2DMultisample(m_target, 2, GL_RGB8, 64, 64, GL_FALSE); in test()
1439 else if (m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1440 gl.glTexStorage3DMultisample(m_target, 2, GL_RGB8, 64, 64, 2, GL_FALSE); in test()
1445 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); in test()
1458 gl.glBindTexture(m_target, textureID); in test()
1461 if (m_target == GL_TEXTURE_2D || m_target == GL_TEXTURE_CUBE_MAP) in test()
1462 gl.glTexStorage2D(m_target, level, GL_RGB8, 64, 64); in test()
1463 else if (m_target == GL_TEXTURE_2D_ARRAY || m_target == GL_TEXTURE_3D) in test()
1464 gl.glTexStorage3D(m_target, level, GL_RGB8, 64, 64, 64); in test()
1465 else if (m_target == GL_TEXTURE_CUBE_MAP_ARRAY) in test()
1466 gl.glTexStorage3D(m_target, level, GL_RGB8, 64, 64, 6 * 2); in test()
1471 verifyStateTextureParamInteger(result, gl, m_target, m_pname, level, m_type); in test()
1495 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1503 gl.glBindTexture(m_target, textureID); in test()
1506 switch (m_target) in test()
1511 gl.glTexStorage2D(m_target, 1, GL_RGBA8, 32, 32); in test()
1517 gl.glTexStorage3D(m_target, 1, GL_RGBA8, 32, 32, 8); in test()
1522 gl.glTexStorage2DMultisample(m_target, 2, GL_RGB8, 64, 64, GL_FALSE); in test()
1527 gl.glTexStorage3DMultisample(m_target, 2, GL_RGB8, 64, 64, 2, GL_FALSE); in test()
1532 gl.glTexStorage3D(m_target, 1, GL_RGBA8, 32, 32, 6 * 2); in test()
1540 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); in test()
1547 if (m_target == GL_TEXTURE_2D_MULTISAMPLE || in test()
1548 m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY) in test()
1557 gl.glBindTexture(m_target, textureID); in test()
1560 switch (m_target) in test()
1564 gl.glTexImage2D(m_target, 0, GL_RGBA8, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1575 gl.glTexImage3D(m_target, 0, GL_RGBA8, 32, 32, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1580 gl.glTexImage3D(m_target, 0, GL_RGBA8, 32, 32, 6 * 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in test()
1588 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 0, m_type); in test()
1609 gl.glTexParameteri(m_target, m_pname, GL_CLAMP_TO_BORDER_EXT); in test()
1611 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
1613 gl.glTexParameteri(m_target, m_pname, GL_REPEAT); in test()
1616 gl.glTexParameterf(m_target, m_pname, (GLfloat)GL_CLAMP_TO_BORDER_EXT); in test()
1619 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
1640 …verifyStateTextureParamFloatVec4(result, gl, m_target, m_pname, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),… in test()
1648 gl.glTexParameterIiv(m_target, m_pname, color.getPtr()); in test()
1651 verifyStateTextureParamIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
1658 gl.glTexParameterIuiv(m_target, m_pname, color.getPtr()); in test()
1661 verifyStateTextureParamUnsignedIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
1671 gl.glTexParameterfv(m_target, m_pname, color.getPtr()); in test()
1674 verifyStateTextureParamFloatVec4(result, gl, m_target, m_pname, color, m_type); in test()
1676 gl.glTexParameteriv(m_target, m_pname, icolor.getPtr()); in test()
1679 verifyStateTextureParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()
1703 glw::GLuint m_target; member in deqp::gls::TextureStateQueryTests::__anonc22dbc7d0111::SamplerTest
1717 , m_target (0) in SamplerTest()
1749 m_target = *sampler; in iterate()
1751 m_target = 0; in iterate()
1776 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_REPEAT, m_type); in test()
1790 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
1798 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
1802 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1809 gl.glSamplerParameteri(m_target, m_pname, wrapValues[ndx]); in test()
1812 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1819 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)wrapValues[ndx]); in test()
1822 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, wrapValues[ndx], m_type); in test()
1850 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1874 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
1882 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
1886 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1893 gl.glSamplerParameteri(m_target, m_pname, values[ndx]); in test()
1896 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1903 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)values[ndx]); in test()
1906 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, values[ndx], m_type); in test()
1934 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initialValue, m_type); in test()
1950 gl.glSamplerParameterIiv(m_target, m_pname, &ref); in test()
1953 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1964 gl.glSamplerParameterIuiv(m_target, m_pname, &ref); in test()
1967 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
1979 gl.glSamplerParameterf(m_target, m_pname, ref); in test()
1982 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, ref, m_type); in test()
1991 gl.glSamplerParameteri(m_target, m_pname, ref); in test()
1994 verifyStateSamplerParamFloat(result, gl, m_target, m_pname, (float)ref, m_type); in test()
2019 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_NONE, m_type); in test()
2033 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2041 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2045 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2052 gl.glSamplerParameteri(m_target, m_pname, modes[ndx]); in test()
2055 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2062 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)modes[ndx]); in test()
2065 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, modes[ndx], m_type); in test()
2090 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_LEQUAL, m_type); in test()
2104 gl.glSamplerParameterIiv(m_target, m_pname, &value); in test()
2112 gl.glSamplerParameterIuiv(m_target, m_pname, &value); in test()
2116 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2123 gl.glSamplerParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
2126 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2133 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
2136 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
2156 gl.glSamplerParameteri(m_target, m_pname, GL_CLAMP_TO_BORDER_EXT); in test()
2158 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
2160 gl.glSamplerParameteri(m_target, m_pname, GL_REPEAT); in test()
2163 gl.glSamplerParameterf(m_target, m_pname, (GLfloat)GL_CLAMP_TO_BORDER_EXT); in test()
2166 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_CLAMP_TO_BORDER_EXT, m_type); in test()
2188 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2196 gl.glSamplerParameteri(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
2198 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2200 gl.glSamplerParameteriv(m_target, m_pname, &decodeInt); in test()
2202 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2204 gl.glSamplerParameterf(m_target, m_pname, GL_SKIP_DECODE_EXT); in test()
2206 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2208 gl.glSamplerParameterfv(m_target, m_pname, &decodeFloat); in test()
2210 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2218 gl.glSamplerParameterIiv(m_target, m_pname, &skipDecode); in test()
2220 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2222 gl.glSamplerParameterIiv(m_target, m_pname, &decode); in test()
2224 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2232 gl.glSamplerParameterIuiv(m_target, m_pname, &skipDecode); in test()
2234 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_SKIP_DECODE_EXT, m_type); in test()
2236 gl.glSamplerParameterIuiv(m_target, m_pname, &decode); in test()
2238 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, GL_DECODE_EXT, m_type); in test()
2264 …verifyStateSamplerParamFloatVec4(result, gl, m_target, m_pname, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),… in test()
2272 gl.glSamplerParameterIiv(m_target, m_pname, color.getPtr()); in test()
2275 verifyStateSamplerParamIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
2282 gl.glSamplerParameterIuiv(m_target, m_pname, color.getPtr()); in test()
2285 verifyStateSamplerParamUnsignedIntegerVec4(result, gl, m_target, m_pname, color, m_type); in test()
2295 gl.glSamplerParameterfv(m_target, m_pname, color.getPtr()); in test()
2298 verifyStateSamplerParamFloatVec4(result, gl, m_target, m_pname, color, m_type); in test()
2300 gl.glSamplerParameteriv(m_target, m_pname, icolor.getPtr()); in test()
2303 verifyStateSamplerParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()