This link will show you the casualties, by name, of soldiers in the 1st TX and 5th TX Infantries throughout the War. You can match the casualty and dates to determine the battle.
http://texas-brigade.org/frameset1tex.htm
Just go to the left menu bar and click on "History" and check out each company.