i965: Fall back or appropriately adjust offsets of drawing to tiled regions.
authorEric Anholt <eric@anholt.net>
Fri, 5 Jun 2009 23:16:44 +0000 (23:16 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 04:01:48 +0000 (21:01 -0700)
commit0f328c90dbc893e15005f2ab441d309c1c176245
tree80a82e10b357e4cd595d0e3ef744ebce108e43ec
parent46000cecc32104702fcb0de5a842d11b18c41c6b
i965: Fall back or appropriately adjust offsets of drawing to tiled regions.

3D rendering to tiled textures was being done with non-tile-aligned offsets.
The G4X hardware has fields to let us support it easily and correctly, while
the pre-G4X hardware requires a path full of suffering, so we just fall back.
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_structs.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c