diff options
author | Mathias Fröhlich <[email protected]> | 2009-10-19 11:47:21 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-10-19 11:47:21 -0400 |
commit | 16e21191e26084848c7e6e3ffd9e15ef670855c5 (patch) | |
tree | ef28548394bbd4af171a75339125c592d58c5f54 /src/mesa/tnl_dd | |
parent | 8123180ea649540fb7319bc79ad77dca0d5d68cd (diff) |
r300: fix texture size handling with size > 2048
The in kernel texture check fails because of both
bit11 flags being set on 16x16 textures. It tuns out
that these bits are still set and not cleared in the
pp_txpitch field of the texture. The attached patch
at least helps for this case on my machine. It clears
the bit 11 from the pitch field if the texture is smaller
and masks out that hight bits on the conventional width
and height field.
Fixes bug 24584
Diffstat (limited to 'src/mesa/tnl_dd')
0 files changed, 0 insertions, 0 deletions