fix bogus assumption if ddx has set up surface reg for z buffer
authorRoland Scheidegger <sroland@tungstengraphics.com>
Thu, 15 Nov 2007 00:13:16 +0000 (01:13 +0100)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Thu, 15 Nov 2007 00:13:16 +0000 (01:13 +0100)
commit96ba38a450b77d56730fd293499cbeaa1f511507
treee68d2b72d3866ffcc37e203eb96671f6b1ddeca5
parentdab7c810e99e8fd2a7c8ba5cdbdc2fb6502647b3
fix bogus assumption if ddx has set up surface reg for z buffer

this is wrong since even if ddx has not set up a surface reg to cover the z
buffer we should pretend it has on those rv100 chips since they presumably do
not do z buffer tiling if not using hyperz, so we can use linear addressing
just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug
almost certainly broke newer non-tcl chips.
src/mesa/drivers/dri/radeon/radeon_screen.c