Add validation for barriers within render passes.

Conflicts:
	layers/draw_state.cpp
2 files changed