Home | History | Annotate | Download | only in main

Lines Matching refs:NumLayers

489    texObj->NumLayers = 1;
492 texObj->NumLayers = texImage->Height;
503 /* fall through to set NumLayers */
507 texObj->NumLayers = texImage->Depth;
511 texObj->NumLayers = 6;
525 GLuint minlayer, GLuint numlayers)
543 minlevel, numlevels, minlayer, numlayers);
616 if (newViewMinLayer >= (origTexObj->MinLayer + origTexObj->NumLayers)) {
619 " + orig numlayers (%d))",
620 newViewMinLayer, origTexObj->MinLayer, origTexObj->NumLayers);
640 newViewNumLayers = MIN2(numlayers, origTexObj->NumLayers - minlayer);
670 * <numlayers> must be equal to 6.
674 "glTextureView(clamped numlayers %d != 6)",
687 * then <numlayers> counts layer-faces rather than layers,
688 * and the clamped <numlayers> must be a multiple of 6.
693 "glTextureView(clamped numlayers %d is not"
727 * or TEXTURE_2D_MULTISAMPLE and <numlayers> does not equal 1, the error
736 if (numlayers != 1) {
737 _mesa_error(ctx, GL_INVALID_VALUE, "glTextureView(numlayers %d != 1)",
738 numlayers);
784 texObj->NumLayers = newViewNumLayers;