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:
parent
9f8a204645
commit
f1dfc6a780
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue