summaryrefslogtreecommitdiff
path: root/sc/sc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sc/sc.cpp')
-rw-r--r--sc/sc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/sc.cpp b/sc/sc.cpp
index 9232e10..f0ce0ff 100644
--- a/sc/sc.cpp
+++ b/sc/sc.cpp
@@ -168,14 +168,16 @@ struct Desc {
std::pair<int, int> size() const {
switch (type) {
case svariable_type_float:
- return { 4, 4 };
case svariable_type_int:
return { 4, 4 };
case svariable_type_vec2:
+ case svariable_type_ivec2:
return { 8, 8 };
case svariable_type_vec3:
+ case svariable_type_ivec3:
return { 12, 16 };
case svariable_type_vec4:
+ case svariable_type_ivec4:
return { 16, 16 };
case svariable_type_mat2:
return { 16, 16 };