Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-04 | r300g: Fix indexbuf upper limits. | Corbin Simpson | |
Wine tends to pessimistically use ~0 for its max index, but r300s only can go up to 2^24-1, causing the kernel checker to freak out. Civ4 is marginally improved now. Still crashes, but not as bad. | |||
2010-03-01 | r300g: adapt to new vertex element cso | Roland Scheidegger | |
2010-02-28 | r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT) | Marek Olšák | |
Formerly known as vertex_format_state. These two are completely unrelated when using HWTCL and decoupling them makes the design less SWTCL-centric. When bypass_vs_clip_and_viewport gets removed, the PSC setup will no longer be a derived state. This change shouldn't make unbreaking SWTCL harder. | |||
2010-02-28 | r300g: put validating buffers after flushing | Marek Olšák | |
Also cleaning up the nasty validation process. | |||
2010-02-27 | r300g: always emit the correct max vertex index to avoid DRM errors | Marek Olšák | |
Fixing bizarre reports that a vertex buffer is not large enough. | |||
2010-02-27 | r300g: remove pointless "while" | Marek Olšák | |
2010-02-24 | r300g: prevent CS overflow when emitting the draw packets | Marek Olšák | |
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> | |||
2010-02-23 | r300g: fix draw_elements for "start" != 0 | Marek Olšák | |
Reported-by: Andre Maasikas <amaasikas@gmail.com> | |||
2010-02-22 | Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map" | Dave Airlie | |
This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-02-22 | r300g: rebuild winsys/pipe buffer handling and add buffer map | Dave Airlie | |
This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-02-22 | r3OOg: support rendering of more than 65535 vertices per draw call (almost) | Marek Olšák | |
The path for VAP_ALT_NUM_VERTICES is also in place (and tested) but not enabled by default due to the missing support of this reg in the upstream kernel. Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine. Am I missing something? Because of this, only draw_arrays can render more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES. | |||
2010-02-02 | gallium: pipe/p_inlines.h -> util/u_inlines.h | José Fonseca | |
2010-01-30 | r300g: Silence uninitialized variable warning. | Vinson Lee | |
2010-01-28 | gallium: Enable multiple constant buffers for vertex and geometry shaders. | Michal Krol | |
2010-01-28 | r300g: Fix bizarre half-flushes with immd mode. | Corbin Simpson | |
2010-01-26 | r300g: Make vertex_format into an atom. | Corbin Simpson | |
Some delicious hax here. | |||
2010-01-25 | r300g: Finish and enable immediate mode. | Corbin Simpson | |
Based on Marek's immd-mode patch. | |||
2010-01-25 | Revert "r300g,radeong: finish and enable the immediate mode" | Corbin Simpson | |
This reverts commit 112239e9a66a155d36fe2ad0ab130e6f26eff298. | |||
2010-01-24 | r300g,radeong: finish and enable the immediate mode | Marek Olšák | |
Nearly 100% performance increase in glxgears. | |||
2010-01-24 | r300g: fix flushing harder. | Dave Airlie | |
I swear ipers runs here after this commit. After we flush we need to redo the space check | |||
2010-01-23 | r300: fix wrong call in last commit | Dave Airlie | |
2010-01-23 | r300g: fix up buffer emission ordering. | Dave Airlie | |
This fixes the code space checking VBOs, then resetting the space list and space checking other buffers. it fixes demos/ipers Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-01-16 | r300g: Stop using indices. | Corbin Simpson | |
Sorry, it was a good game, but it just doesn't work. | |||
2010-01-16 | r300g: Respect fill modes in indices fallback. | Corbin Simpson | |
2010-01-14 | r300g: Cleanup from last few commits. | Corbin Simpson | |
Strangely enough, the code solidified pretty quickly. | |||
2010-01-14 | r300g: Really destroy translated buffer at the end. | Łukasz Krotowski | |
Note that indexSize is changed by r300_translate_elts(). Also make sure it's destroyed on errors. | |||
2010-01-13 | r300g: Use indices to translate index buffers of ubytes. | Corbin Simpson | |
progs/redbook/aapoly, among others, works fine now. | |||
2010-01-13 | r300g: Disable immediate mode rendering for now. | Corbin Simpson | |
Will re-enable when the bugs are ironed out. | |||
2010-01-12 | r300g: Lower the immd mode threshold. | Corbin Simpson | |
2010-01-12 | r300g: Switch to immediate mode for tiny renders. | Corbin Simpson | |
Useful for e.g. blitter. | |||
2010-01-10 | r300g: Don't bother testing for empty scissors. | Corbin Simpson | |
If somebody goes through that much effort, they probably intended it. So humor them. :3 | |||
2010-01-10 | r300g: Atomize scissors. | Corbin Simpson | |
Argfl. Some of this code is so questionable. | |||
2010-01-10 | r300g: Atomize rasterizer. | Corbin Simpson | |
I want to stab things now. | |||
2010-01-05 | Merge commit 'origin/gallium-draw-retval' | Keith Whitwell | |
Conflicts: src/gallium/drivers/identity/id_context.c | |||
2010-01-01 | r300: Fix scons build. | José Fonseca | |
2009-12-26 | r300g: fixup for GS additions | Dave Airlie | |
draw_set_mapped_constant_buffer changed API | |||
2009-12-21 | gallium: propogate draw retval changes into more drivers | Keith Whitwell | |
2009-12-18 | r300g: Fix provoking vertex for non-quads. | Corbin Simpson | |
Read the comments. In short, we can't possibly pass piglit's glean/clipFlat without some help from Gallium and an API/spec change. | |||
2009-12-18 | r300g: Respect provoking vertex for trifans. | Corbin Simpson | |
Fixes part of piglit's clipFlat test; next up is to get quads right. | |||
2009-12-18 | r300g: Eliminate a couple more asserts. | Corbin Simpson | |
2009-12-18 | r300g: Nuke r300_vbo. | Corbin Simpson | |
2009-12-15 | r300g: clamp vertex indices to [min,max] everywhere | Marek Olšák | |
2009-12-06 | r300g: don't render if everything is culled by scissoring | Marek Olšák | |
Otherwise a CS is refused by kernel 2.6.31 (and maybe all later versions, not sure). | |||
2009-11-20 | r300g: 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-08 | r300g: Fix up SW TCL rendering functions. | Corbin Simpson | |
They don't work, but at least they're clean now. | |||
2009-11-08 | r300g: Unify context names for counts. | Corbin Simpson | |
From the SW TCL fixups. | |||
2009-11-07 | r300g: Minor code cleanup to avoid confusion. | Corbin Simpson | |
2009-11-07 | r300g: Comments. | Corbin Simpson | |
2009-11-07 | r300g: Don't assert on oversized VBOs, just return FALSE. | Corbin Simpson | |
2009-11-07 | r300g: s/false/FALSE/ | Corbin Simpson | |
Also s/true/TRUE/ |