• Home
  • Raw
  • Download

Lines Matching refs:iview

36                  const struct pipe_image_view *iview,  in get_image_offset()  argument
42 return iview->u.buf.offset; in get_image_offset()
49 base_layer = r_coord + iview->u.tex.first_layer; in get_image_offset()
50 return softpipe_get_tex_image_offset(spr, iview->u.tex.level, base_layer); in get_image_offset()
147 get_dimensions(const struct pipe_image_view *iview, in get_dimensions() argument
156 *width = iview->u.buf.size / util_format_get_blocksize(pformat); in get_dimensions()
169 level = spr->base.target == PIPE_BUFFER ? 0 : iview->u.tex.level; in get_dimensions()
212 struct pipe_image_view *iview; in sp_tgsi_load() local
222 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_load()
223 spr = (struct softpipe_resource *)iview->resource; in sp_tgsi_load()
230 if (!get_dimensions(iview, spr, params->tgsi_tex_instr, in sp_tgsi_load()
262 offset = get_image_offset(spr, iview, params->format, r_coord); in sp_tgsi_load()
295 struct pipe_image_view *iview; in sp_tgsi_store() local
306 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_store()
307 spr = (struct softpipe_resource *)iview->resource; in sp_tgsi_store()
316 if (!get_dimensions(iview, spr, params->tgsi_tex_instr, in sp_tgsi_store()
333 offset = get_image_offset(spr, iview, pformat, r_coord); in sp_tgsi_store()
348 handle_op_uint(const struct pipe_image_view *iview, in handle_op_uint() argument
465 handle_op_int(const struct pipe_image_view *iview, in handle_op_int() argument
579 handle_op_r32f_xchg(const struct pipe_image_view *iview, in handle_op_r32f_xchg() argument
628 struct pipe_image_view *iview; in sp_tgsi_op() local
638 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_op()
639 spr = (struct softpipe_resource *)iview->resource; in sp_tgsi_op()
645 if (!get_dimensions(iview, spr, params->tgsi_tex_instr, in sp_tgsi_op()
678 offset = get_image_offset(spr, iview, params->format, r_coord); in sp_tgsi_op()
683 handle_op_uint(iview, params, just_read, data_ptr, j, stride, in sp_tgsi_op()
686 handle_op_int(iview, params, just_read, data_ptr, j, stride, in sp_tgsi_op()
690 handle_op_r32f_xchg(iview, params, just_read, data_ptr, j, stride, in sp_tgsi_op()
710 struct pipe_image_view *iview; in sp_tgsi_get_dims() local
716 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_get_dims()
717 spr = (struct softpipe_resource *)iview->resource; in sp_tgsi_get_dims()
722 dims[0] = iview->u.buf.size / util_format_get_blocksize(iview->format); in sp_tgsi_get_dims()
727 level = iview->u.tex.level; in sp_tgsi_get_dims()
731 dims[1] = iview->u.tex.last_layer - iview->u.tex.first_layer + 1; in sp_tgsi_get_dims()
736 dims[2] = iview->u.tex.last_layer - iview->u.tex.first_layer + 1; in sp_tgsi_get_dims()
749 dims[2] = (iview->u.tex.last_layer - iview->u.tex.first_layer + 1) / 6; in sp_tgsi_get_dims()