summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-03-25 11:22:42 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-03-25 11:22:42 -0700
commitf25a5ad93961c335b56d4f0508cc5c00b77ee519 (patch)
tree85c972b395ad50c98f2688b9c3e856cc71b01cae /ir.h
parent904872372e9822a06fdebd9248b8bd50198cf4b4 (diff)
Widen num_components to handle vec4 correctly.
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir.h b/ir.h
index b0c2f14e12..530c7326a3 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?