if the render area exceeds the attachment size, this is not only illegal, it will crash later
cc: mesa-stable