summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2009-11-23r300g: use util_bitcount()Brian Paul
2009-11-21r300g: Build fix.Corbin Simpson
Oops.
2009-11-21r300g: do not reallocate r300_vertex_info and r300_rs_block all the timeMarek Olšák
2009-11-21r300g: clean up vs/fs tabsMarek Olšák
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.
2009-11-20r300g: silence warningsMarek Olšák
2009-11-20r300g: fix typo in r300_reg.h to prevent the RS unit from doing random thingsMarek Olšák
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.
2009-11-20r300g: fix updating a vertex formatMarek Olšák
We must update PSC when we change the vertex format, e.g. vertex colors from RGBA to BGRA.
2009-11-20r300g: add texture lod clampingMarek Olšák
These now work: piglit/lodclamp piglit/levelclamp
2009-11-20r300g: Begin separating HW TCL and SW TCL state and setup.Corbin Simpson
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
2009-11-20r300g: emit R300_TEX_ENABLE to indicate there are no textures boundMarek Olšák
Previously, this reg wasn't emitted at all if texture_count == 0.
2009-11-20r300g: remove variant states from emit_state_invariantMarek Olšák
2009-11-20r300g: Texrect factor cleanup.Corbin Simpson
(0, 0, 0, 1) is a much saner default value, and texrect factors only need to be (1/s, 1/t, 0, 1).
2009-11-20r300g: fix rectangle textures on r3xxMarek Olšák
Adapted from Maciej Cencora's patch.
2009-11-20r300g: Clean up bitcounting function.Corbin Simpson
I didn't see this in u_math; surely somebody else has this wheel reinvented elsewhere.
2009-11-20r300g: Use MAX3 and MIN3.Corbin Simpson
2009-11-20r300g: set better values in the R300_VAP_CNTL registerMarek Olšák
2009-11-11r300, r300g: Add missing registers.Corbin Simpson
2009-11-08r300g: Fix up SW TCL rendering functions.Corbin Simpson
They don't work, but at least they're clean now.
2009-11-08r300g: Protect against possibly missing Draw pointer.Corbin Simpson
Part of the SW TCL revival.
2009-11-08r300g: Unify context names for counts.Corbin Simpson
From the SW TCL fixups.
2009-11-08r300g: Enable PSC/RS dump with new debugging flags.Corbin Simpson
2009-11-08r300g: Fix is_buffer_referenced.Corbin Simpson
2009-11-08r300g: Fix build error on old compilers.Corbin Simpson
This dead code was still getting compiled, causing a bad ref in the lib.
2009-11-07r300g: Organize inlined state.Corbin Simpson
2009-11-07r300g: DCE.Corbin Simpson
This must never have been called before; it's completely wrong.
2009-11-07r300g: Minor code cleanup to avoid confusion.Corbin Simpson
2009-11-07r300g: Remove do-nothing functions.Corbin Simpson
2009-11-07r300g: Remove faulty assert.Corbin Simpson
2009-11-07r300g: Be more verbose in what's killing us WRT vert formats.Corbin Simpson
2009-11-07r300g: Comments.Corbin Simpson
2009-11-07r300g: Don't assert on oversized VBOs, just return FALSE.Corbin Simpson
2009-11-07r300g: Moar vbo cleanup.Corbin Simpson
2009-11-07r300g: s/false/FALSE/Corbin Simpson
Also s/true/TRUE/
2009-11-07r300g: Clean up indexbuf render, switch to RELOC macro.Corbin Simpson
2009-11-07r300g: Clean up r300_setup_vertex_buffers.Corbin Simpson
2009-11-07r300g: Don't pass hw_prim around in the context.Corbin Simpson
And some other fixes.
2009-11-07r300g: Use common state funcs for translating vert formats.Corbin Simpson
2009-11-07r300g: don't hang GPU on misbehaving appsMaciej Cencora
2009-11-07r300g: VBOs WIPMaciej Cencora
2009-11-07r300g: add missing flushMaciej Cencora
2009-11-07r300g: enable CS dumpingMaciej Cencora
2009-11-07r300g: move vborender context function to seperate fileMaciej Cencora
r300g: Un-migrate r300_draw_render. It'll make maintaining the SW TCL path easier.
2009-11-04r300g: add polygon modeMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: set the correct offset in a colorbuffer surfaceMarek Olšák
Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: add color channel maskingMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-01r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson
Cleared out my git stash.
2009-11-01r300g: fix geometry corruptionsMaciej Cencora
PVS flush is needed before changing the vertex shader or vertex shader constants.
2009-11-01r300g: split constant buffer and shader emittionMaciej Cencora
2009-11-01r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson
A fair amount more flexible and easier to maintain.