summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_vertprog.c
diff options
context:
space:
mode:
authorMathias Fröhlich <Mathias.Froehlich@web.de>2009-10-19 11:47:21 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-10-19 11:47:21 -0400
commit16e21191e26084848c7e6e3ffd9e15ef670855c5 (patch)
treeef28548394bbd4af171a75339125c592d58c5f54 /src/mesa/drivers/dri/r300/r300_vertprog.c
parent8123180ea649540fb7319bc79ad77dca0d5d68cd (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/drivers/dri/r300/r300_vertprog.c')
0 files changed, 0 insertions, 0 deletions