Module: Mesa Branch: 9.1 Commit: 6799bddf6b1b54c10905787764a4079ccf5f682e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6799bddf6b1b54c10905787764a4079ccf5f682e
Author: Michel Dänzer <[email protected]> Date: Wed Feb 6 17:14:26 2013 +0100 radeonsi: Remove incorrect (and dead) assignment in tex_fetch_args(). The proper return type is assigned at the end of the function. (cherry picked from commit 180db2bcb28e94bb1ce18d76b2b3a5818d76262c) --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 2 -- 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 2d640f2..36711be 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 */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
