Lines Matching refs:m_limits
314 , m_limits (limits) in ReferenceContext()
318 , m_clientVertexArray (0, m_limits.maxVertexAttribs) in ReferenceContext()
323 , m_textureUnits (m_limits.maxTextureImageUnits) in ReferenceContext()
380 , m_currentAttribs (m_limits.maxVertexAttribs, rr::GenericVec4(tcu::Vec4(0, 0, 0, 1))) in ReferenceContext()
604 …RC_IF_ERROR(glu::isContextTypeES(m_limits.contextType) && (target == GL_TEXTURE_1D), GL_INVALID_EN… in bindTexture()
1042 if (target == GL_TEXTURE_1D && glu::isContextTypeGLCore(m_limits.contextType)) in texImage3D()
1045 …RC_IF_ERROR(width > m_limits.maxTexture2DSize || height != 1 || depth != 1, GL_INVALID_VALUE, RC_R… in texImage3D()
1046 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1080 …RC_IF_ERROR(width > m_limits.maxTexture2DSize || height > m_limits.maxTexture2DSize || depth != 1,… in texImage3D()
1081 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1121 …RC_IF_ERROR(width != height || width > m_limits.maxTextureCubeSize || depth != 1, GL_INVALID_VALUE… in texImage3D()
1122 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTextureCubeSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1158 RC_IF_ERROR(width > m_limits.maxTexture2DSize || in texImage3D()
1159 height > m_limits.maxTexture2DSize || in texImage3D()
1160 depth > m_limits.maxTexture2DArrayLayers, GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1161 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1197 RC_IF_ERROR(width > m_limits.maxTexture3DSize || in texImage3D()
1198 height > m_limits.maxTexture3DSize || in texImage3D()
1199 depth > m_limits.maxTexture3DSize, GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1200 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture3DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1237 width > m_limits.maxTexture2DSize || in texImage3D()
1239 depth > m_limits.maxTexture2DArrayLayers, GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1240 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D()
1300 if (target == GL_TEXTURE_1D && glu::isContextTypeGLCore(m_limits.contextType)) in texSubImage3D()
1442 RC_IF_ERROR(width > m_limits.maxTexture2DSize, GL_INVALID_VALUE, RC_RET_VOID); in copyTexImage1D()
1443 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in copyTexImage1D()
1490 …RC_IF_ERROR(width > m_limits.maxTexture2DSize || height > m_limits.maxTexture2DSize, GL_INVALID_VA… in copyTexImage2D()
1491 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in copyTexImage2D()
1526 …RC_IF_ERROR(width != height || width > m_limits.maxTextureCubeSize, GL_INVALID_VALUE, RC_RET_VOID); in copyTexImage2D()
1527 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTextureCubeSize), GL_INVALID_VALUE, RC_RET_VOID); in copyTexImage2D()
1674 …RC_IF_ERROR(width > m_limits.maxTexture2DSize || height >= m_limits.maxTexture2DSize, GL_INVALID_V… in texStorage2D()
1692 …RC_IF_ERROR(width > m_limits.maxTextureCubeSize || height > m_limits.maxTextureCubeSize, GL_INVALI… in texStorage2D()
1728 RC_IF_ERROR(width > m_limits.maxTexture2DSize || in texStorage3D()
1729 height >= m_limits.maxTexture2DSize || in texStorage3D()
1730 depth >= m_limits.maxTexture2DArrayLayers, GL_INVALID_VALUE, RC_RET_VOID); in texStorage3D()
1748 RC_IF_ERROR(width > m_limits.maxTexture3DSize || in texStorage3D()
1749 height > m_limits.maxTexture3DSize || in texStorage3D()
1750 depth > m_limits.maxTexture3DSize, GL_INVALID_VALUE, RC_RET_VOID); in texStorage3D()
1771 width > m_limits.maxTexture2DSize || in texStorage3D()
1772 depth >= m_limits.maxTexture2DArrayLayers, GL_INVALID_VALUE, RC_RET_VOID); in texStorage3D()
2314 RC_IF_ERROR(!deInRange32(width, 0, m_limits.maxRenderbufferSize) || in renderbufferStorage()
2315 !deInRange32(height, 0, m_limits.maxRenderbufferSize), in renderbufferStorage()
3564 vertexArrayObject = new rc::VertexArray(array, m_limits.maxVertexAttribs); in bindVertexArray()
3605 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttribPointer()
3643 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttribIPointer()
3674 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in enableVertexAttribArray()
3682 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in disableVertexAttribArray()
3690 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttribDivisor()
3698 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttrib1f()
3705 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttrib2f()
3712 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttrib3f()
3719 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttrib4f()
3726 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttribI4i()
3733 RC_IF_ERROR(index >= (deUint32)m_limits.maxVertexAttribs, GL_INVALID_VALUE, RC_RET_VOID); in vertexAttribI4ui()
4632 case GL_MAX_TEXTURE_SIZE: *param = m_limits.maxTexture2DSize; break; in getIntegerv()
4633 case GL_MAX_CUBE_MAP_TEXTURE_SIZE: *param = m_limits.maxTextureCubeSize; break; in getIntegerv()
4634 case GL_MAX_ARRAY_TEXTURE_LAYERS: *param = m_limits.maxTexture2DArrayLayers; break; in getIntegerv()
4635 case GL_MAX_3D_TEXTURE_SIZE: *param = m_limits.maxTexture3DSize; break; in getIntegerv()
4636 case GL_MAX_RENDERBUFFER_SIZE: *param = m_limits.maxRenderbufferSize; break; in getIntegerv()
4637 case GL_MAX_TEXTURE_IMAGE_UNITS: *param = m_limits.maxTextureImageUnits; break; in getIntegerv()
4638 case GL_MAX_VERTEX_ATTRIBS: *param = m_limits.maxVertexAttribs; break; in getIntegerv()
4650 case GL_EXTENSIONS: return m_limits.extensionStr.c_str(); in getString()