Some debug output to find exception on Tegra3

Texture problem on Tegra3, some debug info to find the cause.
Debug output