Given any operation on null buffer/texture is UB or fatal, it's better to use a dummy texture filled with (0, 0, 0, 1) instead.