summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-08-18 17:29:59 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-08-20 12:04:10 +0200
commit09bf09cf92c3958c3b8268f38387804084ca30e2 (patch)
treecb10636044fa2408e0fbd4020e2e979d93d92988 /src
parentccd08643577988d416b339b84fe7bfda6fb77ef6 (diff)
nv50: use NV50TIC_0_2_TARGET_RECT
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nv50/nv50_tex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_tex.c b/src/gallium/drivers/nv50/nv50_tex.c
index 4db53f7ec2..d41d9c5102 100644
--- a/src/gallium/drivers/nv50/nv50_tex.c
+++ b/src/gallium/drivers/nv50/nv50_tex.c
@@ -131,9 +131,11 @@ nv50_tex_construct(struct nv50_sampler_view *view)
tic[2] |= NV50TIC_0_2_TARGET_1D;
break;
case PIPE_TEXTURE_2D:
- case PIPE_TEXTURE_RECT:
tic[2] |= NV50TIC_0_2_TARGET_2D;
break;
+ case PIPE_TEXTURE_RECT:
+ tic[2] |= NV50TIC_0_2_TARGET_RECT;
+ break;
case PIPE_TEXTURE_3D:
tic[2] |= NV50TIC_0_2_TARGET_3D;
break;