Lines Matching refs:texture
171 R600_ERR("r600: unsupported texture type %d\n", target);
628 struct r600_texture *tmp = (struct r600_texture*)view->base.texture;
663 struct pipe_resource *texture,
668 struct r600_texture *tmp = (struct r600_texture*)texture;
680 view->base.texture = NULL;
681 pipe_reference(NULL, &texture->reference);
682 view->base.texture = texture;
686 if (texture->target == PIPE_BUFFER)
687 return texture_buffer_sampler_view(view, texture->width0, 1);
713 if (!r600_init_flushed_depth_texture(ctx, texture, NULL)) {
726 depth = u_minify(texture->depth0, offset_level);
729 if (texture->target == PIPE_TEXTURE_1D_ARRAY) {
731 depth = texture->array_size;
732 } else if (texture->target == PIPE_TEXTURE_2D_ARRAY) {
733 depth = texture->array_size;
734 } else if (texture->target == PIPE_TEXTURE_CUBE_ARRAY)
735 depth = texture->array_size / 6;
751 view->tex_resource_words[0] = (S_038000_DIM(r600_tex_dim(texture->target, texture->nr_samples)) |
771 if (texture->nr_samples > 1) {
773 view->tex_resource_words[5] |= S_038014_LAST_LEVEL(util_logbase2(texture->nr_samples));
811 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture;
823 r600_init_flushed_depth_texture(&rctx->b.b, surf->base.texture, NULL);
1041 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture;
1113 state->cbufs[0]->texture->nr_samples > 1 &&
1114 state->cbufs[1]->texture->nr_samples <= 1;
1128 rtex = (struct r600_texture*)surf->base.texture;
1129 r600_context_add_resource_size(ctx, state->cbufs[i]->texture);
1168 r600_context_add_resource_size(ctx, state->zsbuf->texture);
1380 (struct r600_resource*)cb[i]->base.texture,
1382 cb[i]->base.texture->nr_samples > 1 ?
1395 cb[i]->base.texture->nr_samples > 1 ?
1408 cb[i]->base.texture->nr_samples > 1 ?
1445 (struct r600_resource*)state->zsbuf->texture,
1447 surf->base.texture->nr_samples > 1 ?
1548 struct r600_texture *rtex = (struct r600_texture *)a->rsurf->base.texture;
1837 enum pipe_texture_target target = rview->base.texture->target;