aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ir_builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/ir_builder.h')
-rw-r--r--mesalib/src/glsl/ir_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/ir_builder.h b/mesalib/src/glsl/ir_builder.h
index 7a0a196ee..067858df4 100644
--- a/mesalib/src/glsl/ir_builder.h
+++ b/mesalib/src/glsl/ir_builder.h
@@ -94,7 +94,7 @@ ir_expression *saturate(operand a);
/**
* Swizzle away later components, but preserve the ordering.
*/
-ir_swizzle *swizzle_for_size(operand a, int components);
+ir_swizzle *swizzle_for_size(operand a, unsigned components);
ir_swizzle *swizzle_xxxx(operand a);
ir_swizzle *swizzle_yyyy(operand a);