From f25a5ad93961c335b56d4f0508cc5c00b77ee519 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 25 Mar 2010 11:22:42 -0700 Subject: [PATCH] Widen num_components to handle vec4 correctly. --- ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.h b/ir.h index b0c2f14..530c732 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? -- 2.7.4