Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: use util_bitcount() | Brian Paul | 2009-11-23 | 1 | -17/+2 |
| | |||||
* | r300g: Build fix. | Corbin Simpson | 2009-11-21 | 1 | -1/+1 |
| | | | | Oops. | ||||
* | r300g: do not reallocate r300_vertex_info and r300_rs_block all the time | Marek Olšák | 2009-11-21 | 2 | -24/+20 |
| | |||||
* | r300g: clean up vs/fs tabs | Marek Olšák | 2009-11-21 | 2 | -94/+25 |
| | | | | | Instead of vs_tab, we use vs_output_tab and it's local now. fs_tab hasn't been used anywhere, so I removed it and r300_update_fs_tab too. | ||||
* | r300g: silence warnings | Marek Olšák | 2009-11-20 | 2 | -2/+4 |
| | |||||
* | r300g: fix typo in r300_reg.h to prevent the RS unit from doing random things | Marek Olšák | 2009-11-20 | 2 | -15/+13 |
| | | | | | | And reorder fragment shader inputs so that the colors are before texcoords, as is allocated by the shader compiler. This commit makes VS->FS attribute routing work on R500. | ||||
* | r300g: fix updating a vertex format | Marek Olšák | 2009-11-20 | 2 | -2/+5 |
| | | | | | We must update PSC when we change the vertex format, e.g. vertex colors from RGBA to BGRA. | ||||
* | r300g: add texture lod clamping | Marek Olšák | 2009-11-20 | 5 | -5/+23 |
| | | | | | | These now work: piglit/lodclamp piglit/levelclamp | ||||
* | r300g: Begin separating HW TCL and SW TCL state and setup. | Corbin Simpson | 2009-11-20 | 6 | -174/+110 |
| | | | | | | | This patch removes draw_context entirely from the HW TCL path and cleans up a few other things along the way. Hopefully, nothing got broken. Thanks to Marek Olšák for testing, review, and pointing out my bugs. :3 | ||||
* | r300g: emit R300_TEX_ENABLE to indicate there are no textures bound | Marek Olšák | 2009-11-20 | 2 | -2/+15 |
| | | | | Previously, this reg wasn't emitted at all if texture_count == 0. | ||||
* | r300g: remove variant states from emit_state_invariant | Marek Olšák | 2009-11-20 | 1 | -3/+1 |
| | |||||
* | r300g: Texrect factor cleanup. | Corbin Simpson | 2009-11-20 | 1 | -10/+14 |
| | | | | | (0, 0, 0, 1) is a much saner default value, and texrect factors only need to be (1/s, 1/t, 0, 1). | ||||
* | r300g: fix rectangle textures on r3xx | Marek Olšák | 2009-11-20 | 2 | -2/+28 |
| | | | | Adapted from Maciej Cencora's patch. | ||||
* | r300g: Clean up bitcounting function. | Corbin Simpson | 2009-11-20 | 1 | -5/+10 |
| | | | | | I didn't see this in u_math; surely somebody else has this wheel reinvented elsewhere. | ||||
* | r300g: Use MAX3 and MIN3. | Corbin Simpson | 2009-11-20 | 2 | -4/+1 |
| | |||||
* | r300g: set better values in the R300_VAP_CNTL register | Marek Olšák | 2009-11-20 | 1 | -5/+28 |
| | |||||
* | r300, r300g: Add missing registers. | Corbin Simpson | 2009-11-11 | 1 | -3/+5 |
| | |||||
* | r300g: Fix up SW TCL rendering functions. | Corbin Simpson | 2009-11-08 | 2 | -20/+53 |
| | | | | They don't work, but at least they're clean now. | ||||
* | r300g: Protect against possibly missing Draw pointer. | Corbin Simpson | 2009-11-08 | 1 | -18/+29 |
| | | | | Part of the SW TCL revival. | ||||
* | r300g: Unify context names for counts. | Corbin Simpson | 2009-11-08 | 6 | -14/+19 |
| | | | | From the SW TCL fixups. | ||||
* | r300g: Enable PSC/RS dump with new debugging flags. | Corbin Simpson | 2009-11-08 | 1 | -12/+16 |
| | |||||
* | r300g: Fix is_buffer_referenced. | Corbin Simpson | 2009-11-08 | 1 | -2/+5 |
| | |||||
* | r300g: Fix build error on old compilers. | Corbin Simpson | 2009-11-08 | 1 | -3/+3 |
| | | | | This dead code was still getting compiled, causing a bad ref in the lib. | ||||
* | r300g: Organize inlined state. | Corbin Simpson | 2009-11-07 | 1 | -36/+36 |
| | |||||
* | r300g: DCE. | Corbin Simpson | 2009-11-07 | 2 | -27/+2 |
| | | | | This must never have been called before; it's completely wrong. | ||||
* | r300g: Minor code cleanup to avoid confusion. | Corbin Simpson | 2009-11-07 | 1 | -2/+1 |
| | |||||
* | r300g: Remove do-nothing functions. | Corbin Simpson | 2009-11-07 | 1 | -12/+0 |
| | |||||
* | r300g: Remove faulty assert. | Corbin Simpson | 2009-11-07 | 1 | -3/+1 |
| | |||||
* | r300g: Be more verbose in what's killing us WRT vert formats. | Corbin Simpson | 2009-11-07 | 1 | -4/+12 |
| | |||||
* | r300g: Comments. | Corbin Simpson | 2009-11-07 | 2 | -6/+11 |
| | |||||
* | r300g: Don't assert on oversized VBOs, just return FALSE. | Corbin Simpson | 2009-11-07 | 1 | -4/+12 |
| | |||||
* | r300g: Moar vbo cleanup. | Corbin Simpson | 2009-11-07 | 1 | -8/+12 |
| | |||||
* | r300g: s/false/FALSE/ | Corbin Simpson | 2009-11-07 | 2 | -9/+9 |
| | | | | Also s/true/TRUE/ | ||||
* | r300g: Clean up indexbuf render, switch to RELOC macro. | Corbin Simpson | 2009-11-07 | 1 | -15/+17 |
| | |||||
* | r300g: Clean up r300_setup_vertex_buffers. | Corbin Simpson | 2009-11-07 | 1 | -15/+13 |
| | |||||
* | r300g: Don't pass hw_prim around in the context. | Corbin Simpson | 2009-11-07 | 5 | -81/+74 |
| | | | | And some other fixes. | ||||
* | r300g: Use common state funcs for translating vert formats. | Corbin Simpson | 2009-11-07 | 1 | -72/+6 |
| | |||||
* | r300g: don't hang GPU on misbehaving apps | Maciej Cencora | 2009-11-07 | 1 | -0/+6 |
| | |||||
* | r300g: VBOs WIP | Maciej Cencora | 2009-11-07 | 10 | -109/+477 |
| | |||||
* | r300g: add missing flush | Maciej Cencora | 2009-11-07 | 1 | -0/+2 |
| | |||||
* | r300g: enable CS dumping | Maciej Cencora | 2009-11-07 | 1 | -2/+2 |
| | |||||
* | r300g: move vborender context function to seperate file | Maciej Cencora | 2009-11-07 | 2 | -1/+6 |
| | | | | | | r300g: Un-migrate r300_draw_render. It'll make maintaining the SW TCL path easier. | ||||
* | r300g: add polygon mode | Marek Olšák | 2009-11-04 | 5 | -3/+67 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g: fix the size of CS when emitting the fragprog constant buffer | Marek Olšák | 2009-11-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g: set the correct offset in a colorbuffer surface | Marek Olšák | 2009-11-04 | 1 | -8/+9 |
| | | | | | | | | | Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g: add color channel masking | Marek Olšák | 2009-11-04 | 4 | -5/+19 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc. | Corbin Simpson | 2009-11-01 | 5 | -14/+28 |
| | | | | Cleared out my git stash. | ||||
* | r300g: fix geometry corruptions | Maciej Cencora | 2009-11-01 | 1 | -2/+14 |
| | | | | PVS flush is needed before changing the vertex shader or vertex shader constants. | ||||
* | r300g: split constant buffer and shader emittion | Maciej Cencora | 2009-11-01 | 5 | -98/+152 |
| | |||||
* | r300g: Adopt osiris' PSC data and swizzle. | Corbin Simpson | 2009-11-01 | 1 | -40/+88 |
| | | | | A fair amount more flexible and easier to maintain. |