summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sb/sb_expr.h
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2013-05-28 05:24:53 +0400
committerVadim Girlin <[email protected]>2013-05-28 05:24:53 +0400
commit08810ca9ef2adc0c094686b6cd8b565eecfa866d (patch)
tree8079ec690a77d57cffd4f6dd79f78906eef16fca /src/gallium/drivers/r600/sb/sb_expr.h
parent5328c8001b26b5a341edaec3618919dd8a4de52f (diff)
r600g/sb: handle more cases for folding in gvn pass
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/sb/sb_expr.h')
-rw-r--r--src/gallium/drivers/r600/sb/sb_expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_expr.h b/src/gallium/drivers/r600/sb/sb_expr.h
index 1ee48a00597..1b77c8e0657 100644
--- a/src/gallium/drivers/r600/sb/sb_expr.h
+++ b/src/gallium/drivers/r600/sb/sb_expr.h
@@ -42,6 +42,9 @@ unsigned get_predsetcc_op(unsigned cc, unsigned cmp_type);
unsigned get_killcc_op(unsigned cc, unsigned cmp_type);
unsigned get_cndcc_op(unsigned cc, unsigned cmp_type);
+void convert_to_mov(alu_node &n, value *src,
+ bool neg = false, bool abs = false);
+
class expr_handler {
shader &sh;