projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1362484
)
intel: Remove an unneeded hunk that slipped in with texture tiling.
author
Eric Anholt
<eric@anholt.net>
Sat, 6 Jun 2009 07:22:00 +0000
(07:22 +0000)
committer
Eric Anholt
<eric@anholt.net>
Tue, 9 Jun 2009 22:21:17 +0000
(15:21 -0700)
intel_miptree_pitch_align does this later on.
src/mesa/drivers/dri/intel/intel_tex_layout.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_layout.c
b/src/mesa/drivers/dri/intel/intel_tex_layout.c
index b8be7ef41a2ffe4a974afaf7ec71a9465320ead6..2c1b722b7f5db59c813020a71ac611b84a3721f5 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_layout.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_layout.c
@@
-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;
}
}