summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300g: use util_bitcount()Brian Paul2009-11-231-17/+2
|
* r300g: Build fix.Corbin Simpson2009-11-211-1/+1
| | | | Oops.
* r300g: do not reallocate r300_vertex_info and r300_rs_block all the timeMarek Olšák2009-11-212-24/+20
|
* r300g: clean up vs/fs tabsMarek Olšák2009-11-212-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 warningsMarek Olšák2009-11-202-2/+4
|
* r300g: fix typo in r300_reg.h to prevent the RS unit from doing random thingsMarek Olšák2009-11-202-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 formatMarek Olšák2009-11-202-2/+5
| | | | | We must update PSC when we change the vertex format, e.g. vertex colors from RGBA to BGRA.
* r300g: add texture lod clampingMarek Olšák2009-11-205-5/+23
| | | | | | These now work: piglit/lodclamp piglit/levelclamp
* r300g: Begin separating HW TCL and SW TCL state and setup.Corbin Simpson2009-11-206-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 boundMarek Olšák2009-11-202-2/+15
| | | | Previously, this reg wasn't emitted at all if texture_count == 0.
* r300g: remove variant states from emit_state_invariantMarek Olšák2009-11-201-3/+1
|
* r300g: Texrect factor cleanup.Corbin Simpson2009-11-201-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 r3xxMarek Olšák2009-11-202-2/+28
| | | | Adapted from Maciej Cencora's patch.
* r300g: Clean up bitcounting function.Corbin Simpson2009-11-201-5/+10
| | | | | I didn't see this in u_math; surely somebody else has this wheel reinvented elsewhere.
* r300g: Use MAX3 and MIN3.Corbin Simpson2009-11-202-4/+1
|
* r300g: set better values in the R300_VAP_CNTL registerMarek Olšák2009-11-201-5/+28
|
* r300, r300g: Add missing registers.Corbin Simpson2009-11-111-3/+5
|
* r300g: Fix up SW TCL rendering functions.Corbin Simpson2009-11-082-20/+53
| | | | They don't work, but at least they're clean now.
* r300g: Protect against possibly missing Draw pointer.Corbin Simpson2009-11-081-18/+29
| | | | Part of the SW TCL revival.
* r300g: Unify context names for counts.Corbin Simpson2009-11-086-14/+19
| | | | From the SW TCL fixups.
* r300g: Enable PSC/RS dump with new debugging flags.Corbin Simpson2009-11-081-12/+16
|
* r300g: Fix is_buffer_referenced.Corbin Simpson2009-11-081-2/+5
|
* r300g: Fix build error on old compilers.Corbin Simpson2009-11-081-3/+3
| | | | This dead code was still getting compiled, causing a bad ref in the lib.
* r300g: Organize inlined state.Corbin Simpson2009-11-071-36/+36
|
* r300g: DCE.Corbin Simpson2009-11-072-27/+2
| | | | This must never have been called before; it's completely wrong.
* r300g: Minor code cleanup to avoid confusion.Corbin Simpson2009-11-071-2/+1
|
* r300g: Remove do-nothing functions.Corbin Simpson2009-11-071-12/+0
|
* r300g: Remove faulty assert.Corbin Simpson2009-11-071-3/+1
|
* r300g: Be more verbose in what's killing us WRT vert formats.Corbin Simpson2009-11-071-4/+12
|
* r300g: Comments.Corbin Simpson2009-11-072-6/+11
|
* r300g: Don't assert on oversized VBOs, just return FALSE.Corbin Simpson2009-11-071-4/+12
|
* r300g: Moar vbo cleanup.Corbin Simpson2009-11-071-8/+12
|
* r300g: s/false/FALSE/Corbin Simpson2009-11-072-9/+9
| | | | Also s/true/TRUE/
* r300g: Clean up indexbuf render, switch to RELOC macro.Corbin Simpson2009-11-071-15/+17
|
* r300g: Clean up r300_setup_vertex_buffers.Corbin Simpson2009-11-071-15/+13
|
* r300g: Don't pass hw_prim around in the context.Corbin Simpson2009-11-075-81/+74
| | | | And some other fixes.
* r300g: Use common state funcs for translating vert formats.Corbin Simpson2009-11-071-72/+6
|
* r300g: don't hang GPU on misbehaving appsMaciej Cencora2009-11-071-0/+6
|
* r300g: VBOs WIPMaciej Cencora2009-11-0710-109/+477
|
* r300g: add missing flushMaciej Cencora2009-11-071-0/+2
|
* r300g: enable CS dumpingMaciej Cencora2009-11-071-2/+2
|
* r300g: move vborender context function to seperate fileMaciej Cencora2009-11-072-1/+6
| | | | | | r300g: Un-migrate r300_draw_render. It'll make maintaining the SW TCL path easier.
* r300g: add polygon modeMarek Olšák2009-11-045-3/+67
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák2009-11-041-1/+1
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: set the correct offset in a colorbuffer surfaceMarek Olšák2009-11-041-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 maskingMarek Olšák2009-11-044-5/+19
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson2009-11-015-14/+28
| | | | Cleared out my git stash.
* r300g: fix geometry corruptionsMaciej Cencora2009-11-011-2/+14
| | | | PVS flush is needed before changing the vertex shader or vertex shader constants.
* r300g: split constant buffer and shader emittionMaciej Cencora2009-11-015-98/+152
|
* r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson2009-11-011-40/+88
| | | | A fair amount more flexible and easier to maintain.