projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41100b6
)
nvc0: make sure to disable fetches from previously-set VBOs when blitting
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 28 Mar 2016 04:52:00 +0000
(
00:52
-0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 28 Mar 2016 12:36:34 +0000
(08:36 -0400)
We disable the vertex attributes, but also disable the VBO fetch details
as well, just in case. Not known to fix anything.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
index 3ebacb6b2342be0df417ae7feecbb0ce046f05c2..e657204128ef54b4d59759e0d9c7c5c84dc3784f 100644
(file)
--- a/
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
+++ b/
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c
@@
-1295,6
+1295,8
@@
nvc0_blit_3d(struct nvc0_context *nvc0, const struct pipe_blit_info *info)
NVC0_3D_VERTEX_ATTRIB_FORMAT_SIZE_32 |
NVC0_3D_VERTEX_ATTRIB_FORMAT_CONST);
}
+ for (i = 1; i < n; ++i)
+ IMMED_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 0);
if (nvc0->state.instance_elts) {
nvc0->state.instance_elts = 0;
BEGIN_NVC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_PER_INSTANCE), 2);