summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_shader.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2013-02-06 17:14:26 +0100
committerMichel Dänzer <[email protected]>2013-02-07 19:07:43 +0100
commita9816cc7845ea2167811e375f6a8fb98bea119de (patch)
treefdd4d71161fc666fc06724686fedda25dee02edd /src/gallium/drivers/radeonsi/radeonsi_shader.c
parent07eddc444c2cb49180f2fbca6b189788839fc117 (diff)
radeonsi: Remove incorrect (and dead) assignment in tex_fetch_args().
The proper return type is assigned at the end of the function.
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c
index 2d640f245b2..36711be352f 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_shader.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c
@@ -911,8 +911,6 @@ static void tex_fetch_args(
while (count < util_next_power_of_two(count))
address[count++] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
- emit_data->dst_type = LLVMVectorType(LLVMInt32TypeInContext(gallivm->context),
- count);
emit_data->args[1] = lp_build_gather_values(gallivm, address, count);
/* Resource */