Searched refs:ilog2 (Results 1 – 1 of 1) sorted by relevance
2794 static int ilog2(uint32_t x) { in ilog2() function2822 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glTexImage2D()2824 (level > ilog2(max_cube_map_texture_size)), GL_INVALID_VALUE); in s_glTexImage2D()2903 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glTexSubImage2D()2905 level > ilog2(max_cube_map_texture_size), GL_INVALID_VALUE); in s_glTexSubImage2D()2968 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCopyTexImage2D()2970 (level > ilog2(max_cube_map_texture_size)), GL_INVALID_VALUE); in s_glCopyTexImage2D()3241 SET_ERROR_IF(level > ilog2(ctx->m_state->getMaxTextureSize()), GL_INVALID_VALUE); in s_glFramebufferTexture2D()3243 SET_ERROR_IF(level > ilog2(ctx->m_state->getMaxTextureSizeCubeMap()), GL_INVALID_VALUE); in s_glFramebufferTexture2D()3539 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCompressedTexImage2D()[all …]