gallivm: avoid a self-assign warning

Fixes a clang warning

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14272>
This commit is contained in:
Thomas H.P. Andersen 2021-12-20 22:25:53 +01:00 committed by Marge Bot
parent 9f8a204645
commit f1dfc6a780
1 changed files with 0 additions and 1 deletions

View File

@ -335,7 +335,6 @@ rgb_to_rgba_aos(struct gallivm_state *gallivm,
*/
#if UTIL_ARCH_LITTLE_ENDIAN
r = r;
g = LLVMBuildShl(builder, g, lp_build_const_int_vec(gallivm, type, 8), "");
b = LLVMBuildShl(builder, b, lp_build_const_int_vec(gallivm, type, 16), "");
a = lp_build_const_int_vec(gallivm, type, 0xff000000);