Lines Matching refs:baseLevel
444 const GLint baseLevel = t->BaseLevel; in _mesa_test_texobj_completeness() local
463 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { in _mesa_test_texobj_completeness()
464 incomplete(t, BASE, "base level = %d is invalid", baseLevel); in _mesa_test_texobj_completeness()
468 if (t->MaxLevel < baseLevel) { in _mesa_test_texobj_completeness()
470 t->MaxLevel, baseLevel); in _mesa_test_texobj_completeness()
474 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness()
478 incomplete(t, BASE, "Image[baseLevel=%d] == NULL", baseLevel); in _mesa_test_texobj_completeness()
535 t->_MaxLevel = baseLevel + maxLog2; /* 'p' in the GL spec */ in _mesa_test_texobj_completeness()
540 t->_MaxLambda = (GLfloat) (t->_MaxLevel - baseLevel); in _mesa_test_texobj_completeness()
559 assert(t->Image[face][baseLevel] == NULL || in _mesa_test_texobj_completeness()
560 t->Image[face][baseLevel]->Width2 == in _mesa_test_texobj_completeness()
561 t->Image[face][baseLevel]->Height2); in _mesa_test_texobj_completeness()
562 if (t->Image[face][baseLevel] == NULL || in _mesa_test_texobj_completeness()
563 t->Image[face][baseLevel]->Width2 != baseImage->Width2) { in _mesa_test_texobj_completeness()
578 const GLint minLevel = baseLevel; in _mesa_test_texobj_completeness()
594 for (i = baseLevel + 1; i < maxLevels; i++) { in _mesa_test_texobj_completeness()
663 const GLint baseLevel = texObj->BaseLevel; in _mesa_cube_complete() local
670 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) in _mesa_cube_complete()
674 img0 = texObj->Image[0][baseLevel]; in _mesa_cube_complete()
682 img = texObj->Image[face][baseLevel]; in _mesa_cube_complete()