Lines Matching refs:m_pname

576 	const glw::GLenum			m_pname;  member in deqp::gls::TextureStateQueryTests::__anonc22dbc7d0111::TextureTest
591 , m_pname (mapTesterToPname(tester)) in TextureTest()
607 if (!isCoreTextureParam(m_renderCtx.getType(), m_pname)) in init()
608 extensions.add(getTextureParamExtension(m_renderCtx.getType(), m_pname)); in init()
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()
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()
859 const int initialValue = (m_pname == GL_TEXTURE_SWIZZLE_R) ? (GL_RED) : in test()
860 (m_pname == GL_TEXTURE_SWIZZLE_G) ? (GL_GREEN) : in test()
861 (m_pname == GL_TEXTURE_SWIZZLE_B) ? (GL_BLUE) : in test()
862 (m_pname == GL_TEXTURE_SWIZZLE_A) ? (GL_ALPHA) : 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()
1006 const glw::GLenum initial = (m_pname == GL_TEXTURE_MAG_FILTER) ? (GL_LINEAR) in test()
1007 : (m_pname == GL_TEXTURE_MIN_FILTER) ? (GL_NEAREST_MIPMAP_LINEAR) in test()
1013 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1022 if (m_pname == GL_TEXTURE_MIN_FILTER) 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()
1090 const int initialValue = (m_pname == GL_TEXTURE_MIN_LOD) ? (-1000) in test()
1091 : (m_pname == GL_TEXTURE_MAX_LOD) ? (1000) 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()
1178 const int initialValue = (m_pname == GL_TEXTURE_BASE_LEVEL) ? (0) in test()
1179 : (m_pname == GL_TEXTURE_MAX_LEVEL) ? (1000) in test()
1185 verifyStateTextureParamInteger(result, gl, m_target, m_pname, initialValue, m_type); 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()
1445 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); 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()
1540 verifyStateTextureParamInteger(result, gl, m_target, m_pname, 1, m_type); 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()
1700 const glw::GLenum m_pname; member in deqp::gls::TextureStateQueryTests::__anonc22dbc7d0111::SamplerTest
1714 , m_pname (mapTesterToPname(tester)) in SamplerTest()
1727 if (!isCoreTextureParam(m_renderCtx.getType(), m_pname)) in init()
1728 extensions.add(getTextureParamExtension(m_renderCtx.getType(), m_pname)); in init()
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()
1843 const glw::GLenum initial = (m_pname == GL_TEXTURE_MAG_FILTER) ? (GL_LINEAR) in test()
1844 : (m_pname == GL_TEXTURE_MIN_FILTER) ? (GL_NEAREST_MIPMAP_LINEAR) in test()
1850 verifyStateSamplerParamInteger(result, gl, m_target, m_pname, initial, m_type); in test()
1859 if (m_pname == GL_TEXTURE_MIN_FILTER) 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()
1927 const int initialValue = (m_pname == GL_TEXTURE_MIN_LOD) ? (-1000) in test()
1928 : (m_pname == GL_TEXTURE_MAX_LOD) ? (1000) 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()