Lines Matching defs:tex
55 struct pipe_resource *tex = transfer->resource;
59 tex, transfer->level, &transfer->box);
67 struct pipe_resource *tex = transfer->resource;
71 ctx->resource_copy_region(ctx, tex, transfer->level,
87 struct r300_resource *tex = r300_resource(texture);
93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE);
98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE);
112 if (tex->tex.microtile || tex->tex.macrotile[level] ||
166 if (!tex->tex.microtile && !tex->tex.macrotile[level]) {
178 assert(!trans->linear_texture->tex.microtile &&
179 !trans->linear_texture->tex.macrotile[0]);
183 trans->linear_texture->tex.stride_in_bytes[0];
198 trans->transfer.stride = tex->tex.stride_in_bytes[level];
199 trans->offset = r300_texture_get_offset(tex, level, box->z);
231 struct r300_resource *tex = r300_resource(transfer->resource);
233 enum pipe_format format = tex->b.b.format;
242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage);
259 struct r300_resource *tex = r300_resource(transfer->resource);
264 rws->buffer_unmap(tex->cs_buf);