HLSL: Fix uniform packing for non-square matrices.
HLSL: Fix uniform packing for non-square matrices.

We were neglecting to transpose the types here, so were getting
incorrect registers counts for rows and columns.

BUG=angleproject:1072
TEST=dEQP-GLES3.functional.shaders.matrix.*

Change-Id: Ia0ab89bbba8b9e2d8f39e84ef4e8ad3c03bb118d
Reviewed-on: https://chromium-review.googlesource.com/286771
Reviewed-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.org>
Reviewed-by: Corentin Wallez <470c533e86f4f848c98c7e11fffc2d043494a401@chromium.org>
Tested-by: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>

ppy/angle,mlfarrell/angle,MSOpenTech/angle,ecoal95/angle,crezefire/angle,mikolalysenko/angle,ecoal95/angle,ecoal95/angle,ecoal95/angle,mybios/angle,bsergean/angle,ppy/angle,mybios/angle,ecoal95/angle,larsbergstrom/angle,mybios/angle,mikolalysenko/angle,domokit/waterfall,vvuk/angle,mikolalysenko/angle,ppy/angle,mybios/angle,mlfarrell/angle,csa7mdm/angle,crezefire/angle,larsbergstrom/angle,crezefire/angle,bsergean/angle,larsbergstrom/angle,ppy/angle,csa7mdm/angle,bsergean/angle,mikolalysenko/angle,csa7mdm/angle,bsergean/angle,crezefire/angle,MSOpenTech/angle,csa7mdm/angle,MSOpenTech/angle,larsbergstrom/angle,vvuk/angle,mlfarrell/angle,domokit/waterfall,mlfarrell/angle,vvuk/angle,MSOpenTech/angle,vvuk/angle