Commit 1baf77db authored by Ilia Mirkin's avatar Ilia Mirkin

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: 's avatarIlia Mirkin <imirkin@alum.mit.edu>
parent cd064c6a
......@@ -173,7 +173,7 @@ nvc0_create_texture_view(struct pipe_context *pipe,
tic[2] |= NV50_TIC_2_TARGET_2D;
break;
case PIPE_TEXTURE_RECT:
tic[2] |= NV50_TIC_2_TARGET_RECT;
tic[2] |= NV50_TIC_2_TARGET_2D;
break;
case PIPE_TEXTURE_3D:
tic[2] |= NV50_TIC_2_TARGET_3D;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment