nvc0: treat non-linear 2DRect textures the same as 2D
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 30 Apr 2014 01:51:42 +0000 (21:51 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 2 May 2014 16:01:35 +0000 (12:01 -0400)
commit1baf77dbe89e58c83287aa1662d64bafc727d565
tree83da5c0a1212e9ebcb5adf8e382c6e479675796a
parentcd064c6a25a8b8d645d35b0f14d933fa09ddbb23
nvc0: treat non-linear 2DRect textures the same as 2D

This fixes textureGather(2DRect) piglit tests, and does not appear to
have any adverse effects.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c