From: Kenneth Graunke Date: Thu, 25 Mar 2010 18:22:42 +0000 (-0700) Subject: Widen num_components to handle vec4 correctly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f25a5ad93961c335b56d4f0508cc5c00b77ee519;p=mesa.git Widen num_components to handle vec4 correctly. --- 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?