Lines Matching refs:destTex
2216 const struct gl_texture_image *destTex ) in subtexture_error_check2() argument
2218 if (!destTex) { in subtexture_error_check2()
2224 if (xoffset < -((GLint)destTex->Border)) { in subtexture_error_check2()
2229 if (xoffset + width > (GLint) (destTex->Width + destTex->Border)) { in subtexture_error_check2()
2235 GLint yBorder = (target == GL_TEXTURE_1D_ARRAY) ? 0 : destTex->Border; in subtexture_error_check2()
2241 if (yoffset + height > (GLint) destTex->Height + yBorder) { in subtexture_error_check2()
2248 GLint zBorder = (target == GL_TEXTURE_2D_ARRAY) ? 0 : destTex->Border; in subtexture_error_check2()
2253 if (zoffset + depth > (GLint) destTex->Depth + zBorder) { in subtexture_error_check2()
2259 if (_mesa_is_format_compressed(destTex->TexFormat)) { in subtexture_error_check2()
2262 if (compressedteximage_only_format(ctx, destTex->InternalFormat)) { in subtexture_error_check2()
2269 _mesa_get_format_block_size(destTex->TexFormat, &bw, &bh); in subtexture_error_check2()
2279 if ((width % bw != 0) && (GLuint) width != destTex->Width) { in subtexture_error_check2()
2284 if ((height % bh != 0) && (GLuint) height != destTex->Height) { in subtexture_error_check2()
2293 if (_mesa_is_format_integer_color(destTex->TexFormat) != in subtexture_error_check2()