r600g: Removed duplicated call to tgsi_split_literal_constant().
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 19 Nov 2010 21:31:43 +0000 (22:31 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Tue, 23 Nov 2010 08:20:54 +0000 (09:20 +0100)
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
src/gallium/drivers/r600/r600_shader.c

index 37884d0f5b248d8f0fabc9ec34a862d097e39d8d..77b180984dd10b5d3140692312d9146618dac72a 100644 (file)
@@ -1106,10 +1106,6 @@ static int tgsi_setup_trig(struct r600_shader_ctx *ctx,
        if (r)
                return r;
 
-       r = tgsi_split_literal_constant(ctx, r600_src);
-       if (r)
-               return r;
-
        lit_vals[0] = fui(1.0 /(3.1415926535 * 2));
        lit_vals[1] = fui(0.5f);