summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_translate.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-11-29 11:38:24 +1000
committerDave Airlie <[email protected]>2010-11-29 11:38:24 +1000
commita7cb673aa1b1184ac58d77ff400d1d70d316dc06 (patch)
treeb89b7b3e9eafc10f4cf9dcb8cbe6acae04286e67 /src/gallium/drivers/r600/r600_translate.c
parent5d4d8b6205af9a09e67f53631eefad77054aa8e9 (diff)
r600g: it looks like r600 can handle dword offsets in the indices.
Tested with piglit + ut2004 still seems to render okay (and it definitely does this)
Diffstat (limited to 'src/gallium/drivers/r600/r600_translate.c')
-rw-r--r--src/gallium/drivers/r600/r600_translate.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r600/r600_translate.c b/src/gallium/drivers/r600/r600_translate.c
index 9a07cf2073f..2e082f1cff0 100644
--- 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;
}