vc4: Translate 4-byte index buffers to 2 bytes.
authorEric Anholt <eric@anholt.net>
Sat, 18 Oct 2014 11:50:05 +0000 (12:50 +0100)
committerEric Anholt <eric@anholt.net>
Sun, 19 Oct 2014 07:44:56 +0000 (08:44 +0100)
commit6212d2402df4ad0658cbb98ce889e35ef5f32fa3
tree23b3d5128082694cf8c62c2f62ff779475f0b776
parent572fba95e4cd85aebdde9bd757c17f719af2af04
vc4: Translate 4-byte index buffers to 2 bytes.

Fixes assertion failures in 14 piglit tests (half of which now pass).
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc4/vc4_resource.h
src/gallium/drivers/vc4/vc4_state.c