merged matrix_stack into d3d11_backend