radeon/r200/r300: set the texture depth correctly for DRI2