projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d78eb57
)
vc4: Drop redundant index size setting.
author
Eric Anholt
<eric@anholt.net>
Fri, 12 Dec 2014 04:34:57 +0000
(20:34 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Dec 2014 07:52:34 +0000
(23:52 -0800)
This is already done at set_index_buffer() time.
src/gallium/drivers/vc4/vc4_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_draw.c
b/src/gallium/drivers/vc4/vc4_draw.c
index 2d824624b5f7921347a42cdd571116dba0090bdd..79d7d73c660487a26d56c66060716b6d9bdca411 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_draw.c
+++ b/
src/gallium/drivers/vc4/vc4_draw.c
@@
-218,7
+218,6
@@
vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
if (rsc->shadow_parent) {
vc4_update_shadow_index_buffer(pctx, &vc4->indexbuf);
offset = 0;
- index_size = 2;
}
cl_start_reloc(&vc4->bcl, 1);