projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57132d1
)
virgl: encode index buffer offset.
author
Dave Airlie
<airlied@redhat.com>
Tue, 25 Jul 2017 06:09:40 +0000
(16:09 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 27 Jul 2017 06:10:07 +0000
(16:10 +1000)
Fixes arb_vertex_buffer_object-combined-vertex-index
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_encode.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/virgl/virgl_encode.c
b/src/gallium/drivers/virgl/virgl_encode.c
index 3c8a0f468119c6f244b2621172d39236ec93b41b..ee68fe068f50e43f711e9091fd79e7cf094b785e 100644
(file)
--- a/
src/gallium/drivers/virgl/virgl_encode.c
+++ b/
src/gallium/drivers/virgl/virgl_encode.c
@@
-409,7
+409,7
@@
int virgl_encoder_set_index_buffer(struct virgl_context *ctx,
virgl_encoder_write_res(ctx, res);
if (ib) {
virgl_encoder_write_dword(ctx->cbuf, ib->index_size);
- virgl_encoder_write_dword(ctx->cbuf,
0
);
+ virgl_encoder_write_dword(ctx->cbuf,
ib->offset
);
}
return 0;
}