generate_layers/draw_layer separate passes