Home | History | Annotate | Download | only in a2xx

Lines Matching refs:tile

98 fd2_emit_tile_gmem2mem(struct fd_batch *batch, struct fd_tile *tile)
160 OUT_RING(ring, A2XX_RB_COPY_DEST_OFFSET_X(tile->xoff) |
161 A2XX_RB_COPY_DEST_OFFSET_Y(tile->yoff));
164 emit_gmem2mem_surf(batch, tile->bin_w * tile->bin_h, pfb->zsbuf);
221 fd2_emit_tile_mem2gmem(struct fd_batch *batch, struct fd_tile *tile)
227 unsigned bin_w = tile->bin_w;
228 unsigned bin_h = tile->bin_h;
237 x0 = ((float)tile->xoff) / ((float)pfb->width);
238 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width);
239 y0 = ((float)tile->yoff) / ((float)pfb->height);
240 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height);
322 if (fd_gmem_needs_restore(batch, tile, FD_BUFFER_DEPTH | FD_BUFFER_STENCIL))
325 if (fd_gmem_needs_restore(batch, tile, FD_BUFFER_COLOR))
331 /* before first tile */
357 fd2_emit_tile_prep(struct fd_batch *batch, struct fd_tile *tile)
368 /* setup screen scissor for current tile (same for mem2gmem): */
373 OUT_RING(ring, A2XX_PA_SC_SCREEN_SCISSOR_BR_X(tile->bin_w) |
374 A2XX_PA_SC_SCREEN_SCISSOR_BR_Y(tile->bin_h));
379 fd2_emit_tile_renderprep(struct fd_batch *batch, struct fd_tile *tile)
390 /* setup window scissor and offset for current tile (different
395 OUT_RING(ring, A2XX_PA_SC_WINDOW_OFFSET_X(-tile->xoff) |
396 A2XX_PA_SC_WINDOW_OFFSET_Y(-tile->yoff));