r600g: remove unneeded function call from scs
authorDave Airlie <airlied@redhat.com>
Tue, 31 Aug 2010 03:54:19 +0000 (13:54 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 31 Aug 2010 04:55:32 +0000 (14:55 +1000)
src/gallium/drivers/r600/r600_shader.c

index bac96e8a30e5b4b301791f05262bba43d6c8d9db..b760ee70eaa25634056ab6ef79f06e6003bd8aab 100644 (file)
@@ -939,10 +939,6 @@ static int tgsi_scs(struct r600_shader_ctx *ctx)
        struct r600_bc_alu alu;
        int r;
 
-       r = tgsi_split_constant(ctx, r600_src);
-       if (r)
-               return r;
-
        r = tgsi_setup_trig(ctx, r600_src);
        if (r)
                return r;