Searched refs:max_3d_texture_size (Results 1 – 1 of 1) sorted by relevance
3936 GLint max_3d_texture_size; in s_glTexImage3D() local3938 ctx->glGetIntegerv(ctx, GL_MAX_3D_TEXTURE_SIZE, &max_3d_texture_size); in s_glTexImage3D()3941 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glTexImage3D()3947 SET_ERROR_IF(width > max_3d_texture_size, GL_INVALID_VALUE); in s_glTexImage3D()3948 SET_ERROR_IF(height > max_3d_texture_size, GL_INVALID_VALUE); in s_glTexImage3D()3949 SET_ERROR_IF(depth > max_3d_texture_size, GL_INVALID_VALUE); in s_glTexImage3D()3994 GLint max_3d_texture_size; in s_glTexSubImage3D() local3996 ctx->glGetIntegerv(ctx, GL_MAX_3D_TEXTURE_SIZE, &max_3d_texture_size); in s_glTexSubImage3D()3999 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glTexSubImage3D()