projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adee4b9
)
nv50: fix progs/tests/manytex
author
Ben Skeggs
<skeggsb@gmail.com>
Tue, 13 Jan 2009 03:25:14 +0000
(13:25 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Tue, 13 Jan 2009 03:57:22 +0000
(13:57 +1000)
Previously all squares were textured with the same texture.. not quite what
the demo was supposed to look like!
src/gallium/drivers/nv50/nv50_vbo.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_vbo.c
b/src/gallium/drivers/nv50/nv50_vbo.c
index f41bb921741077d3e8672dec9d3c0ba793fb7960..435dc9777dac701063cf07640ea89507bf878f59 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_vbo.c
+++ b/
src/gallium/drivers/nv50/nv50_vbo.c
@@
-62,6
+62,8
@@
nv50_draw_arrays(struct pipe_context *pipe, unsigned mode, unsigned start,
OUT_RING (0);
BEGIN_RING(tesla, 0x1440, 1);
OUT_RING (0);
+ BEGIN_RING(tesla, 0x1334, 1);
+ OUT_RING (0);
BEGIN_RING(tesla, NV50TCL_VERTEX_BEGIN, 1);
OUT_RING (nv50_prim(mode));