Lines Matching refs:spr
32 const struct softpipe_resource *spr, in get_dimensions() argument
40 if (*width > spr->base.width0) in get_dimensions()
56 struct softpipe_resource *spr; in sp_tgsi_load() local
64 spr = softpipe_resource(bview->buffer); in sp_tgsi_load()
65 if (!spr) in sp_tgsi_load()
68 if (!get_dimensions(bview, spr, &width)) in sp_tgsi_load()
87 uint32_t *src = (uint32_t *)((unsigned char *)spr->data + in sp_tgsi_load()
110 struct softpipe_resource *spr; in sp_tgsi_store() local
118 spr = softpipe_resource(bview->buffer); in sp_tgsi_store()
119 if (!spr) in sp_tgsi_store()
122 if (!get_dimensions(bview, spr, &width)) in sp_tgsi_store()
135 uint32_t *dst = (uint32_t *)((unsigned char *)spr->data + in sp_tgsi_store()
265 struct softpipe_resource *spr; in sp_tgsi_op() local
274 spr = softpipe_resource(bview->buffer); in sp_tgsi_op()
275 if (!spr) in sp_tgsi_op()
278 if (!get_dimensions(bview, spr, &width)) in sp_tgsi_op()
298 data_ptr = (unsigned char *)spr->data + bview->buffer_offset + s_coord; in sp_tgsi_op()
320 struct softpipe_resource *spr; in sp_tgsi_get_dims() local
326 spr = softpipe_resource(bview->buffer); in sp_tgsi_get_dims()
327 if (!spr) in sp_tgsi_get_dims()