Your comments

I didn't try to manipulate tex2d mips yet so I didn't test the fix on it.