mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
i965: Fix assertion for surface tile offset usage on Ironlake.
Fixes assertion failure in fbo-generatemipmap-npot.
This commit is contained in:
parent
64516430be
commit
b2e52e7278
1 changed files with 1 additions and 1 deletions
|
|
@ -588,7 +588,7 @@ brw_update_renderbuffer_surface(struct brw_context *brw,
|
|||
tile_base = ((key.draw_y / 32) * (32 * pitch));
|
||||
tile_base += (key.draw_x - tile_x) / (128 / key.cpp) * 4096;
|
||||
}
|
||||
assert(intel->is_g4x || (tile_x == 0 && tile_y == 0));
|
||||
assert(brw->has_surface_tile_offset || (tile_x == 0 && tile_y == 0));
|
||||
assert(tile_x % 4 == 0);
|
||||
assert(tile_y % 2 == 0);
|
||||
/* Note that the low bits of these fields are missing, so
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue