summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_translate.c
AgeCommit message (Collapse)Author
2011-02-08r600g: use the same upload buffer for vertices, indices, and constantsMarek Olšák
This should reduce memory consumption.
2011-02-07r600g: use the new vertex buffer managerMarek Olšák
2011-01-30r600g: upload translated indices via the uploaderMarek Olšák
2011-01-30r600g: rework vertex format fallbackMarek Olšák
1) Only translate the [min_index, max_index] range. 2) Upload translated vertices via the uploader.
2011-01-30r600g: fix vertex format fallbackMarek Olšák
This fixes: - piglit/draw-vertices - piglit/draw-vertices-half-float
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák
2010-12-14r600g: fix segfault when translating vertex bufferJerome Glisse
Note the support for non float vertex draw likely regressed need to find what we want to do there. candidates for 7.10 branches Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-06r600g: avoid useless shader rebuild at draw callJerome Glisse
Avoid rebuilding constant shader state at each draw call, factor out spi update that might change at each draw call. Best would be to update spi only when revealent states change (likely only flat shading & sprite point). Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-06r600g: build fetch shader from vertex elementsJerome Glisse
Vertex elements change are less frequent than draw call, those to avoid rebuilding fetch shader to often build the fetch shader along vertex elements. This also allow to move vertex buffer setup out of draw path and make update to it less frequent. Shader update can still be improved to only update SPI regs (based on some rasterizer state like flat shading or point sprite ...). Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-29r600g: it looks like r600 can handle dword offsets in the indices.Dave Airlie
Tested with piglit + ut2004 still seems to render okay (and it definitely does this)
2010-10-21r600g: start splitting out common code from eg/r600.Dave Airlie
no point duplicating code that doesn't touch hw, also make it easier to spot mistakes