softgpu: Use switch case for different texture mapping mode