summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
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.
2009-10-31r300g: correct the pitch calculation for smaller mipmapsMarek Olšák
2009-10-31r300g: pretend NPOT supportMarek Olšák
It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this.
2009-10-31r300g: fix reading from the destination buffer in blendingMarek Olšák
2009-10-31r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák
2009-10-31r300g: remove unnecessary assertionsMarek Olšák
Also, correct typos in comments.
2009-10-31r300g: fix crash in r300_is_texture_referencedMarek Olšák
Also, a subtle fix in emitting a texture state
2009-10-28r300g: Use u_trim_pipe_prim to prevent lockups from incorrect vert counts.Corbin Simpson
Adapted from osiris' version on his tree.