From 3688301c59d5661d7a5f1473576f2ad1ed575a14 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 19 Nov 2010 22:31:43 +0100 Subject: r600g: Removed duplicated call to tgsi_split_literal_constant(). Signed-off-by: Tilman Sauerbeck --- src/gallium/drivers/r600/r600_shader.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 37884d0f5b..77b180984d 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -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); -- cgit v1.2.3