Lines Matching refs:NumLayers
492 texObj->NumLayers = 1;
495 texObj->NumLayers = texImage->Height;
506 /* fall through to set NumLayers */
510 texObj->NumLayers = texImage->Depth;
514 texObj->NumLayers = 6;
528 GLuint minlayer, GLuint numlayers, bool no_error)
542 newViewNumLayers = MIN2(numlayers, origTexObj->NumLayers - minlayer);
572 * <numlayers> must be equal to 6.
576 "glTextureView(clamped numlayers %d != 6)",
589 * then <numlayers> counts layer-faces rather than layers,
590 * and the clamped <numlayers> must be a multiple of 6.
595 "glTextureView(clamped numlayers %d is not"
630 * or TEXTURE_2D_MULTISAMPLE and <numlayers> does not equal 1, the error
639 if (numlayers != 1) {
640 _mesa_error(ctx, GL_INVALID_VALUE, "glTextureView(numlayers %d != 1)",
641 numlayers);
691 texObj->NumLayers = newViewNumLayers;
708 GLuint minlayer, GLuint numlayers)
719 numlevels, minlayer, numlayers, true);
726 GLuint minlayer, GLuint numlayers)
738 minlevel, numlevels, minlayer, numlayers);
811 if (newViewMinLayer >= (origTexObj->MinLayer + origTexObj->NumLayers)) {
814 " + orig numlayers (%d))",
815 NumLayers);
830 numlevels, minlayer, numlayers, false);