projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4d8b6
)
r600g: it looks like r600 can handle dword offsets in the indices.
author
Dave Airlie
<airlied@redhat.com>
Mon, 29 Nov 2010 01:38:24 +0000
(11:38 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 29 Nov 2010 01:38:24 +0000
(11:38 +1000)
Tested with piglit + ut2004 still seems to render okay (and it
definitely does this)
src/gallium/drivers/r600/r600_translate.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_translate.c
b/src/gallium/drivers/r600/r600_translate.c
index 9a07cf2073f4ba1f2491ba54b72906fe226d3d41..2e082f1cff07edaba3403db5e8bce9b814764ba9 100644
(file)
--- a/
src/gallium/drivers/r600/r600_translate.c
+++ b/
src/gallium/drivers/r600/r600_translate.c
@@
-197,14
+197,7
@@
void r600_translate_index_buffer(struct r600_pipe_context *r600,
*index_size = 2;
*start = 0;
break;
-
case 2:
- if (*start % 2 != 0) {
- util_rebuild_ushort_elts(&r600->context, index_buffer, 0, *start, count);
- *start = 0;
- }
- break;
-
case 4:
break;
}