mesa/st: enable carry/borrow lowering pass
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Apr 2014 03:13:37 +0000 (23:13 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 2 May 2014 16:01:35 +0000 (12:01 -0400)
This handles the last of the ARB_gs5 instructions currently present in
mesa.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index d1c3856b59f108d428dc31b301d89ce817b449b6..6eb6c8a976562488763098a288e49ee2cb1c1d1c 100644 (file)
@@ -5396,6 +5396,8 @@ st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
                          EXP_TO_EXP2 |
                          LOG_TO_LOG2 |
                          LDEXP_TO_ARITH |
+                         CARRY_TO_ARITH |
+                         BORROW_TO_ARITH |
                          (options->EmitNoPow ? POW_TO_EXP2 : 0) |
                          (!ctx->Const.NativeIntegers ? INT_DIV_TO_MUL_RCP : 0));