diff options
author | Matt Turner <[email protected]> | 2015-01-30 13:50:28 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-02-11 13:50:19 -0800 |
commit | a5455ab1cae85dbe40c12ada9030bc4b4537ced7 (patch) | |
tree | 3ef71e67d0927d92ed277371778ab50c6fbdbf11 /src/glsl/ir_builder.h | |
parent | d91390634ff8c50b217d55372db186d03996e9f7 (diff) |
glsl: Add trunc() to ir_builder.
Diffstat (limited to 'src/glsl/ir_builder.h')
-rw-r--r-- | src/glsl/ir_builder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_builder.h b/src/glsl/ir_builder.h index 573596cf135..514275e2857 100644 --- a/src/glsl/ir_builder.h +++ b/src/glsl/ir_builder.h @@ -137,6 +137,7 @@ ir_expression *imul_high(operand a, operand b); ir_expression *div(operand a, operand b); ir_expression *carry(operand a, operand b); ir_expression *borrow(operand a, operand b); +ir_expression *trunc(operand a); ir_expression *round_even(operand a); ir_expression *dot(operand a, operand b); ir_expression *clamp(operand a, operand b, operand c); |