@Mystral, you added these tests in 386b5ded61a0. Do you recall whether there are Windows applications that care about the result? If not it seems to me like we should remove the zero-size tests entirely (and if so I think we should fix it in the shader).