llvmpipe: Improve color buffer loads/stores alignment.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 3 Dec 2012 13:55:45 +0000 (13:55 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 3 Dec 2012 14:02:43 +0000 (14:02 +0000)
commit03aa3fd54bd8824d90307b3fbe5e26606212be40
tree44f6325b49b779f55d66cebd7c78f68916462823
parent0bc6ec238bad7908b362355f668ea513e14a75b5
llvmpipe: Improve color buffer loads/stores alignment.

Tell LLVM the exact alignment we can guarantee, based on the fs block
dimensions, pixel format, and the alignment of the resource base pointer
and stride.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_fs.c