summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_draw.c
AgeCommit message (Collapse)Author
2009-07-27r300: Move vertex program compilation to compilerNicolai Hähnle
This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Cleanup vertex_program structureNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: fix StrideB == 0 case when converting data formatMaciej Cencora
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-13r300: bind vertex program to fragment programMaciej Cencora
2009-07-08r300: fix regression introduced by ca13937ef97c7779f639dcfc95b3798a11de01bdMaciej Cencora
Stride == 0 means that we value for first vertex should be copied to every other vertices (e.g. constant color). This fixes glean/vertProg1 and sauerbraten with enabled shaders.
2009-07-06radeon: ensure cmdbuf space for state + AOS is availableDave Airlie
The problem is if we find out later we don't have any cmdbuf space but we've already written the arrays to the DMA buffer object, we end up emitting the current cmdbuf which has references to the current DMA object we then send that to the hw and we can't reference the arrays we just emitted to the old DMA buffer. things go bad, crash boom. This can probably be tuned further + swtcl probably needs some fixes
2009-07-05r300: fix vertex limitsMaciej Cencora
- don't limit vertex count if we are using indices - max indices count is 65535 not 65536 - remove some comments that don't apply anymore - remove unreachable code
2009-06-18r300: use vbo_split_prims to split up large vertex buffers.Dave Airlie
This lets ut2004 avoid hitting the elt warning.
2009-06-07r300: Endianness fixes for recent vertex path changes.Michel Dänzer
Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2009-06-07r300: vertex array stride = 0 means that data are tightly packed in the arrayMaciej Cencora
2009-06-07r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW acceleratedMaciej Cencora
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>
2009-06-07r300: add hw accelerated support for different vertex data formatsMaciej Cencora