draw,gallivm,llvmpipe: Avoid implicit casts of 32-bit shifts to 64-bits.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 25 Nov 2014 23:03:02 +0000 (23:03 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 26 Nov 2014 20:25:12 +0000 (20:25 +0000)
commita0ddc547779585b308feb70777f1f95f12c00a81
treef5aede3f8ccec16783853ea653c2e7230d1f4672
parentaef3a01d579214664cf2da58b0e4e1daf325a37e
draw,gallivm,llvmpipe: Avoid implicit casts of 32-bit shifts to 64-bits.

Addresses MSVC warnings "result of 32-bit shift implicitly converted to
64 bits (was 64-bit shift intended?)", which can often be symptom of
bugs, but in these cases were all benign.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c
src/gallium/drivers/llvmpipe/lp_state_fs.c