projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd064c6
)
nvc0: treat non-linear 2DRect textures the same as 2D
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 30 Apr 2014 01:51:42 +0000
(21:51 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 2 May 2014 16:01:35 +0000
(12:01 -0400)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
index 765cd2d2babca5ac09ad6aef47dc2029bbf92c1a..1b11bd0ba8898544d624920da27c88ea8c57b2ab 100644
(file)
--- a/
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
+++ b/
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
@@
-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;