r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW accelerated
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 31 May 2009 21:00:57 +0000 (23:00 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 7 Jun 2009 06:39:58 +0000 (16:39 +1000)
commitca13937ef97c7779f639dcfc95b3798a11de01bd
tree9375a1e6bb282dc1dcada28d98179606bd93108d
parenta8c7c96be717fb65d23aea7a21f9f3969c4de53f
r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW accelerated

Also when index format is GL_UBYTE, convert it to GL_USHORT not GL_UINT.
Fix license header too.

Reported by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/r300_draw.c