Widen num_components to handle vec4 correctly.

This commit is contained in:
Kenneth Graunke 2010-03-25 11:22:42 -07:00
parent 904872372e
commit f25a5ad939

2
ir.h
View file

@ -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?