Lines Matching defs:target
541 bool is_array = util_texture_is_array(res->target);
544 sscreen->make_texture_descriptor(sscreen, tex, true, res->target, res->format, swizzle, 0,
588 if (resource->target == PIPE_BUFFER)
597 if (resource->target == PIPE_BUFFER)
605 if (resource->target == PIPE_BUFFER) {
673 if (resource->target != PIPE_BUFFER) {
927 base->target == PIPE_TEXTURE_3D ||
928 base->target == PIPE_TEXTURE_CUBE)) {
1219 if (templ->target == PIPE_TEXTURE_1D || templ->target == PIPE_TEXTURE_1D_ARRAY ||
1490 assert(templ->target != PIPE_BUFFER);
1661 if ((templ->target != PIPE_TEXTURE_2D && templ->target != PIPE_TEXTURE_RECT &&
1662 templ->target != PIPE_TEXTURE_2D_ARRAY) ||
1728 resource.target = texture->target;
1785 /* We must set the correct texture target and dimensions for a 3D box. */
1787 res->target = PIPE_TEXTURE_2D_ARRAY;
1790 res->target = PIPE_TEXTURE_2D;
1835 assert(texture->target != PIPE_BUFFER);
2094 if (tex->target != PIPE_BUFFER && templ->format != tex->format) {
2135 tex->target != PIPE_BUFFER &&
2250 if (templ->target == PIPE_BUFFER)
2276 if (resource->target == PIPE_BUFFER)
2290 enum pipe_texture_target target,
2320 switch (target) {