From 57a6bcd56b956e7ff8aaed88e08bee9fd59dbd88 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 7 Aug 2013 13:00:48 -0700 Subject: glsl: Add i2b() and b2i() to ir_builder. Reviewed-by: Kenneth Graunke Reviewed-by: Chad Versace --- src/glsl/ir_builder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glsl/ir_builder.h') diff --git a/src/glsl/ir_builder.h b/src/glsl/ir_builder.h index 267b673d95e..7049476a1cf 100644 --- a/src/glsl/ir_builder.h +++ b/src/glsl/ir_builder.h @@ -162,6 +162,8 @@ ir_expression *u2f(operand a); ir_expression *bitcast_u2f(operand a); ir_expression *i2u(operand a); ir_expression *u2i(operand a); +ir_expression *b2i(operand a); +ir_expression *i2b(operand a); /** * Swizzle away later components, but preserve the ordering. -- cgit v1.2.3