Lines Matching defs:texture

627 		R600_ERR("r600: unsupported texture type %d\n", target);
983 struct pipe_resource *texture,
988 struct r600_texture *tmp = (struct r600_texture*)texture;
1000 view->base.texture = NULL;
1001 pipe_reference(NULL, &texture->reference);
1002 view->base.texture = texture;
1021 if (!r600_init_flushed_depth_texture(ctx, texture, NULL)) {
1067 if (texture->target == PIPE_TEXTURE_1D_ARRAY) {
1069 depth = texture->array_size;
1070 } else if (texture->target == PIPE_TEXTURE_2D_ARRAY) {
1071 depth = texture->array_size;
1075 view->tex_resource_words[0] = (S_030000_DIM(r600_tex_dim(texture->target, texture->nr_samples)) |
1085 view->tex_resource_words[2] = (tmp->surface.level[0].offset + r600_resource_va(ctx->screen, texture)) >> 8;
1086 if (state->u.tex.last_level && texture->nr_samples <= 1) {
1087 view->tex_resource_words[3] = (tmp->surface.level[1].offset + r600_resource_va(ctx->screen, texture)) >> 8;
1089 view->tex_resource_words[3] = (tmp->surface.level[0].offset + r600_resource_va(ctx->screen, texture)) >> 8;
1096 if (texture->nr_samples > 1) {
1097 unsigned log_samples = util_logbase2(texture->nr_samples);
1243 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture;
1244 struct pipe_resource *pipe_tex = surf->base.texture;
1438 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture;
1447 offset = r600_resource_va(screen, surf->base.texture);
1497 stencil_offset += r600_resource_va(screen, surf->base.texture);
1721 res = (struct r600_resource*)surf->base.texture;
1724 r600_context_add_resource_size(ctx, state->cbufs[i]->texture);
1790 res = (struct r600_resource*)surf->base.texture;
1792 r600_context_add_resource_size(ctx, state->zsbuf->texture);
1827 nr_samples = state->cbufs[0]->texture->nr_samples;
1829 nr_samples = state->zsbuf->texture->nr_samples;