summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-03-25 11:22:42 -0700
committerKenneth Graunke <[email protected]>2010-03-25 11:22:42 -0700
commitf25a5ad93961c335b56d4f0508cc5c00b77ee519 (patch)
tree85c972b395ad50c98f2688b9c3e856cc71b01cae
parent904872372e9822a06fdebd9248b8bd50198cf4b4 (diff)
Widen num_components to handle vec4 correctly.
-rw-r--r--ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir.h b/ir.h
index b0c2f14e129..530c7326a35 100644
--- a/ir.h
+++ b/ir.h
@@ -379,7 +379,7 @@ struct ir_swizzle_mask {
/**
* Number of components in the swizzle.
*/
- unsigned num_components:2;
+ unsigned num_components:3;
/**
* Does the swizzle contain duplicate components?