Searched refs:pimg (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_image.h33 void fd6_emit_image_tex(struct fd_ringbuffer *ring, const struct pipe_image_view *pimg);
H A Dfd6_image.c55 static void translate_image(struct fd6_image *img, const struct pipe_image_view *pimg) argument
57 enum pipe_format format = pimg->format;
58 struct pipe_resource *prsc = pimg->resource;
82 img->offset = pimg->u.buf.offset;
96 unsigned lvl = pimg->u.tex.level;
97 unsigned layers = pimg->u.tex.last_layer - pimg->u.tex.first_layer + 1;
99 img->ubwc_offset = fd_resource_ubwc_offset(rsc, lvl, pimg->u.tex.first_layer);
100 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer);
133 static void translate_buf(struct fd6_image *img, const struct pipe_shader_buffer *pimg) argument
213 fd6_emit_image_tex(struct fd_ringbuffer * ring,const struct pipe_image_view * pimg) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_image.h34 const struct pipe_image_view *pimg) assert_dt;
H A Dfd6_image.c59 translate_image(struct fd6_image *img, const struct pipe_image_view *pimg) argument
61 enum pipe_format format = pimg->format;
62 struct pipe_resource *prsc = pimg->resource;
84 img->offset = pimg->u.buf.offset;
91 unsigned sz = pimg->u.buf.size / util_format_get_blocksize(format);
99 unsigned lvl = pimg->u.tex.level;
100 unsigned layers = pimg->u.tex.last_layer - pimg->u.tex.first_layer + 1;
103 fd_resource_ubwc_offset(rsc, lvl, pimg->u.tex.first_layer);
104 img->offset = fd_resource_offset(rsc, lvl, pimg
138 translate_buf(struct fd6_image * img,const struct pipe_shader_buffer * pimg) argument
238 fd6_emit_image_tex(struct fd_ringbuffer * ring,const struct pipe_image_view * pimg) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_image.c60 static void translate_image(struct fd5_image *img, struct pipe_image_view *pimg) argument
62 enum pipe_format format = pimg->format;
63 struct pipe_resource *prsc = pimg->resource;
67 if (!pimg->resource) {
82 img->offset = pimg->u.buf.offset;
83 img->pitch = pimg->u.buf.size;
85 lvl = pimg->u.tex.level;
86 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer);
93 unsigned layers = pimg->u.tex.last_layer - pimg
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_image.c61 translate_image(struct fd5_image *img, struct pipe_image_view *pimg) argument
63 enum pipe_format format = pimg->format;
64 struct pipe_resource *prsc = pimg->resource;
67 if (!pimg->resource) {
85 img->offset = pimg->u.buf.offset;
92 unsigned sz = pimg->u.buf.size / util_format_get_blocksize(format);
99 unsigned lvl = pimg->u.tex.level;
100 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer);
106 unsigned layers = pimg->u.tex.last_layer - pimg
[all...]

Completed in 4 milliseconds