diff options
author | Tilman Sauerbeck <[email protected]> | 2010-11-19 22:31:43 +0100 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2010-11-23 09:20:54 +0100 |
commit | 3688301c59d5661d7a5f1473576f2ad1ed575a14 (patch) | |
tree | e81f81ff4a66f0ba48b4fd87889851d90e47fe1c /src/gallium/drivers/r600 | |
parent | 4265c2f81980eae37f6081979c65b2d1bae60b82 (diff) |
r600g: Removed duplicated call to tgsi_split_literal_constant().
Signed-off-by: Tilman Sauerbeck <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |