single list of textures (both params and globals), fixed tests with good matrix mult order