We now parse the texture from the sampler stage definition.
We now correctly use the texture parameter defined in the hlsl sampler_state.
We now correctly get effect parameter types of texture1d, 3d, and cube.
Effect texture parameters now get sampler_state texture names.
Merge pull request #1138 from SickheadGames/mgfx4

MGFX Improvements