mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 22:18:13 +02:00
llvmpipe: remove tile clipping code
The surface is always a multiple of the tile size now.
This commit is contained in:
parent
0706dae088
commit
7319ae0954
1 changed files with 0 additions and 20 deletions
|
|
@ -261,13 +261,6 @@ void lp_rast_load_color( struct lp_rasterizer *rast,
|
|||
|
||||
if (y >= transfer->height)
|
||||
continue;
|
||||
/* XXX: require tile-size aligned render target dimensions:
|
||||
*/
|
||||
if (x + w > transfer->width)
|
||||
w -= x + w - transfer->width;
|
||||
|
||||
if (y + h > transfer->height)
|
||||
h -= y + h - transfer->height;
|
||||
|
||||
assert(w >= 0);
|
||||
assert(h >= 0);
|
||||
|
|
@ -539,19 +532,6 @@ static void lp_rast_store_color( struct lp_rasterizer *rast,
|
|||
if (y >= transfer->height)
|
||||
continue;
|
||||
|
||||
/* XXX: require tile-size aligned render target dimensions:
|
||||
*/
|
||||
if (x + w > transfer->width)
|
||||
w -= x + w - transfer->width;
|
||||
|
||||
if (y + h > transfer->height)
|
||||
h -= y + h - transfer->height;
|
||||
|
||||
assert(w >= 0);
|
||||
assert(h >= 0);
|
||||
assert(w <= TILE_SIZE);
|
||||
assert(h <= TILE_SIZE);
|
||||
|
||||
LP_DBG(DEBUG_RAST, "%s [%u] %d,%d %dx%d\n", __FUNCTION__,
|
||||
thread_index, x, y, w, h);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue