fixed shader loading and input layout creation bugs