swr/rast: don't use 32-bit gathers for elements < 32-bits in size
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 3 Jan 2018 17:58:50 +0000 (11:58 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 10 Jan 2018 15:44:07 +0000 (09:44 -0600)
commit3d4d34e380f33e9daa86ff3aa4c06a56c5fa1318
treedcbb499fc4ba04032a861291f6cc491a0fa29f17
parentf5f1bbcb5c66c55a45e47c71685ca6709b714390
swr/rast: don't use 32-bit gathers for elements < 32-bits in size

Using a gather for elements less than 32-bits in size can cause
pagefaults when loading the last elements in a page-aligned-sized
buffer.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp