Commit 61267981 by gman@chromium.org

Fix mat2 packing to use 2 rows as per spec.

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1805 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 7cfde1c5
......@@ -85,7 +85,7 @@ int VariablePacker::GetNumRows(ShDataType type)
case SH_FLOAT_MAT3:
return 3;
case SH_FLOAT_MAT2:
return 1;
return 2;
case SH_FLOAT_VEC4:
case SH_INT_VEC4:
case SH_BOOL_VEC4:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment