glsl: Record in gl_shader whether the shader uses GLSL ES.
[mesa.git] / src / glsl / ir_builder.h
index 7a0a196ee67c40b85aabe962f8c0630721d08afd..067858df45bf7c89e8cc3e80a421ada2f0f0d75b 100644 (file)
@@ -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);