From: Tilman Sauerbeck Date: Fri, 19 Nov 2010 21:31:43 +0000 (+0100) Subject: r600g: Removed duplicated call to tgsi_split_literal_constant(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3688301c59d5661d7a5f1473576f2ad1ed575a14;p=mesa.git r600g: Removed duplicated call to tgsi_split_literal_constant(). Signed-off-by: Tilman Sauerbeck --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 37884d0f5b2..77b180984dd 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);