Lines Matching refs:texture
106 if (res->texture && etna_resource_older(res, etna_resource(res->texture))) {
107 /* The render buffer is older than the texture buffer. Copy it over. */
108 etna_copy_resource(pctx, pres, res->texture, 0, pres->last_level);
109 res->seqno = etna_resource(res->texture)->seqno;
127 struct etna_resource *res = etna_resource(cbuf->base.texture);
131 etna_update_render_resource(pctx, cbuf->base.texture);
179 if (cbuf->base.texture->nr_samples > 1)
183 nr_samples_color = cbuf->base.texture->nr_samples;
200 struct etna_resource *res = etna_resource(zsbuf->base.texture);
202 etna_update_render_resource(pctx, zsbuf->base.texture);
248 if (zsbuf->base.texture->nr_samples > 1)
253 nr_samples_depth = zsbuf->base.texture->nr_samples;
269 BUG("Number of samples in color and depth texture must match (%i and %i respectively)",