mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 08:10:22 +01:00
intel: Remove an unneeded hunk that slipped in with texture tiling.
intel_miptree_pitch_align does this later on.
This commit is contained in:
parent
1362484840
commit
38eddf04ed
1 changed files with 0 additions and 5 deletions
|
|
@ -88,11 +88,6 @@ void i945_miptree_layout_2d( struct intel_context *intel,
|
|||
|
||||
if (mip1_width > mt->pitch) {
|
||||
mt->pitch = mip1_width;
|
||||
|
||||
if (tiling == I915_TILING_X)
|
||||
mt->pitch = ALIGN(mt->pitch * mt->cpp, 512) / mt->cpp;
|
||||
if (tiling == I915_TILING_Y)
|
||||
mt->pitch = ALIGN(mt->pitch * mt->cpp, 128) / mt->cpp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue