Add conversion of bool to float as an IR operation to match int to float.
diff --git a/ast_function.cpp b/ast_function.cpp
index 91d4f15..2ca8976 100644
--- a/ast_function.cpp
+++ b/ast_function.cpp
@@ -139,7 +139,7 @@
       case GLSL_TYPE_INT:
 	 return new ir_expression(ir_unop_i2f, desired_type, src, NULL);
       case GLSL_TYPE_BOOL:
-	 assert(!"FINISHME: Convert bool to float.");
+	 return new ir_expression(ir_unop_b2f, desired_type, src, NULL);
       }
       break;
    case GLSL_TYPE_BOOL: {