summaryrefslogtreecommitdiff
path: root/sc/sc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sc/sc.cpp')
-rw-r--r--sc/sc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/sc.cpp b/sc/sc.cpp
index e806dd4..0f61fdf 100644
--- a/sc/sc.cpp
+++ b/sc/sc.cpp
@@ -167,6 +167,12 @@ struct Desc {
return { 12, 16 };
case svariable_type_vec4:
return { 16, 16 };
+ case svariable_type_mat2:
+ return { 16, 16 };
+ case svariable_type_mat3:
+ return { 36, 16 };
+ case svariable_type_mat4:
+ return { 64, 16 };
}
assert(0);
return { 0, 0 };