radeonsi: fix some reported undefined left-shifts
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 30 Apr 2016 03:29:22 +0000 (22:29 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 7 May 2016 21:46:59 +0000 (16:46 -0500)
commit146927ce7b7c45be57655af505e8f21e90ae3928
tree9e8fe57e1e8529ffe484cf51a565f7732998a964
parent60d2fc233bc7f15120f72119f9af678175a9b40d
radeonsi: fix some reported undefined left-shifts

One of these is an unsigned bitfield, which I suspect is a false positive, but
gcc 5.3.1 complains about it with -fsanitize=undefined.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c