This was caused by the copy_m4_m4 trying to copy the object_to_texture
from drw_grid which was nullptr.
Fixing this also exposed that rendering such volumes (without any valid
grid attributes) is not supported and we should follow what Cycles does.