diff options
author | Luca Barbieri <[email protected]> | 2010-08-10 10:47:23 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-16 16:57:05 +0200 |
commit | 4a4e29a9ab96d44fca9bb25064e12715aac85cbd (patch) | |
tree | 026ed351b31e669b95f515478699266b3e4d64c0 /src/gallium/auxiliary/translate/translate.h | |
parent | 68e74f1b0110348a44f589739c6edf3fe8e2b368 (diff) |
translate: add support for 8/16-bit indices
Currently, only 32-bit indices are supported, but some use cases
translate needs support for all types.
Diffstat (limited to 'src/gallium/auxiliary/translate/translate.h')
-rw-r--r-- | src/gallium/auxiliary/translate/translate.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate.h b/src/gallium/auxiliary/translate/translate.h index eb6f2cc4862..a75380228b1 100644 --- a/src/gallium/auxiliary/translate/translate.h +++ b/src/gallium/auxiliary/translate/translate.h @@ -85,6 +85,18 @@ struct translate { unsigned instance_id, void *output_buffer); + void (PIPE_CDECL *run_elts16)( struct translate *, + const uint16_t *elts, + unsigned count, + unsigned instance_id, + void *output_buffer); + + void (PIPE_CDECL *run_elts8)( struct translate *, + const uint8_t *elts, + unsigned count, + unsigned instance_id, + void *output_buffer); + void (PIPE_CDECL *run)( struct translate *, unsigned start, unsigned count, |