diff options
author | Kenneth Graunke <[email protected]> | 2010-03-25 11:22:42 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-03-25 11:22:42 -0700 |
commit | f25a5ad93961c335b56d4f0508cc5c00b77ee519 (patch) | |
tree | 85c972b395ad50c98f2688b9c3e856cc71b01cae | |
parent | 904872372e9822a06fdebd9248b8bd50198cf4b4 (diff) |
Widen num_components to handle vec4 correctly.
-rw-r--r-- | ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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? |