aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 8a78e08d1..d6d4c943c 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -371,6 +371,8 @@ struct Selection {
Entity * entity;
Array<i32> index;
bool indirect; // Set if there was a pointer deref anywhere down the line
+ u8 swizzle_count; // maximum components = 4
+ u8 swizzle_indices; // 2 bits per component, representing which swizzle index
};
Selection empty_selection = {0};