nvc0: increase alignment to 256 for texture buffers on fermi
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 1 Mar 2017 16:09:30 +0000 (11:09 -0500)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 4 Mar 2017 16:48:27 +0000 (17:48 +0100)
commit32dd8d59b6d1b6828e16e854d589d0f04536da14
treebc423e57e6c9101ee551ed90730859e2caff4ac3
parent66b62be4bb546de3a5bd10968f11cd892ca7d189
nvc0: increase alignment to 256 for texture buffers on fermi

When binding as textures, the alignment can be 16. However when binding
as an image, the address has to be aligned to 256. (Also when binding as
an RT, but that can't happen with GL or current gallium APIs.)

Reported-by: Roy Spliet <nouveau@spliet.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c