summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
AgeCommit message (Collapse)Author
2005-04-24Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola
didnt want to build anymore.
2005-04-18Fixing and enabling elt buffers by default.Aapo Tahkola
2005-03-18Misc fixes.Aapo Tahkola
2005-03-17Simple TCL stage and ability to disable vps.Aapo Tahkola
2005-03-08Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola
correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
2005-03-05Enable VB mode rendering by default. If anyone thinks this is wrong, ↵Vladimir Dergachev
*please* feel free to change it back. My reasons: * immediate mode is broken * vb mode is faster * vb mode is the right way to do it.
2005-02-22New elt buffer code should be fairly stable.Aapo Tahkola
2005-02-20Adding support for front buffer mode, removing some code we dont really need ↵Aapo Tahkola
and some new debugging stuff.
2005-02-19Disabling some fallbacks as they cause misc programs not to start and adding ↵Aapo Tahkola
some comments.
2005-02-19Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by ↵Aapo Tahkola
parenthesis. Can you see it? HINT: Anything texture related should now work slightly better. And yes it took me several hours to find it.
2005-02-18We dont need to call r300EmitAOS if we arent going to draw ↵Aapo Tahkola
anything(r300_get_num_verts returns 0).
2005-02-18Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not ==Nicolai Haehnle
2005-02-17Fixing *lots* of warning messages, especially concerning unportableNicolai Haehnle
whitespace before preprocessor commands. Please, can you try to keep the warnings down? Try running make with make -s sometime to see just how bad an offender the current code is.
2005-02-17RADEON_DEBUG is a bitfield, so use & instead of ==.Nicolai Haehnle
Also, put the hash in preprocessor directives at the beginning of the line to fix error messages.
2005-02-17Switching to start_index32_packet.Aapo Tahkola
2005-02-17magic_1 handling...Aapo Tahkola
2005-02-17oops.Ben Skeggs
2005-02-17Make immediate code do a LOAD_VBPNTR againBen Skeggs
2005-02-16Support for idx buffers. Leaving it on by default as it doesnt seem to cause ↵Aapo Tahkola
any lock ups nor other issues. Tests with one object using elts should pass. Introducing more than one object will cause indices to mix up as far as i can see. DRM update is needed for this code to work\!
2005-02-16small cleanup, remove some warningsRune Petersen
2005-02-16get two textures to workreist
2005-02-15Share routing code between immd/vb. Fix breakage of vertex programs in vb mode.Ben Skeggs
2005-02-14Support for blend color(not tested), "proper line width/point size" clamps ↵Aapo Tahkola
and fix for glxinfo problem.
2005-02-12Enabled vertex buffer mode as default.Ben Skeggs
2005-02-11Port of r200 VB code. VB path should be as fast as the immediate path now, ↵Ben Skeggs
tuxracer should render correctly. Immediate path was left enabled.
2005-02-10Updating master copy of r300_reg.h and turning immediate mode back onAapo Tahkola
2005-02-10Removing some regs that are wrong and adding some comments to r300_reg.h .Aapo Tahkola
2005-02-09Enabled user-defined point size, enabled zbiases for rest of the primitives ↵Aapo Tahkola
and fixed bad vertex number checks triggered by nurb.
2005-02-08Fix the bug and get zbias back into shape. There might still be some ↵Aapo Tahkola
problems with initial zbias...
2005-02-08BIG FAT NOTE: Theres a nasty bug somewhere thats causing vb color buffer ↵Aapo Tahkola
clears and other things not to work. This bug can be triggered by extending struct r300_hw_state by two struct r300_state_atom's from its current size. Everything zbs and unk42B4 related is now covered with HAVE_ZBS and GA ifdefs. Who wants to fix it? Not i. :)
2005-02-08Better fix to get tuxracer working.Aapo Tahkola
2005-02-08fog + immediate mode = bad thingsAapo Tahkola
2005-02-08Implemented checks that prevent r300 from locking up when bad number of ↵Aapo Tahkola
verts are given. Also tweaked WARN_ONCE a bit to handle va-args.
2005-02-08To cut the long and boring story short, polygon offsets should now work. vb ↵Aapo Tahkola
mode colorbuffer clears are still mysticly broken by offsets... Maybe we need to merge zbs and unk42B4 together?
2005-02-03Removing some trash and disabling fog fallback as it seem its causing more ↵Aapo Tahkola
harm than good. Tuxracer should now work at least with vbs. Fix for vb colorbuffer clear bug is underway...
2005-02-03Changing vb code to handle inputs correctly.Aapo Tahkola
2005-02-03Get vertex programs supplied by the user work properly with immediate mode - ↵Vladimir Dergachev
vertex buffer mode worked by accident. Fix alu_offset in SINGLE_TEXTURE_PIPELINE.
2005-02-03Get Polygon offset fill to work.Vladimir Dergachev
Make WARN_ONCE message more informative.
2005-02-02Changed parts of r300_setup_routing to use WARN_ONCE.Aapo Tahkola
2005-02-01Vertex programs work now with some restrictions. I expect arbvptorus to workAapo Tahkola
correctly when normals are delivered. Please note that some programs only start in vb mode as there is something wrong in immediate mode vb code.
2005-02-01Make WARN_ONCE messages more informative.Vladimir Dergachev
2005-01-31Add magic sequence to prevent ClearBuffer from locking up.Vladimir Dergachev
Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.
2005-01-31Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).Vladimir Dergachev
This fixes segfault in tuxracer-demo. It locks up after this though.
2005-01-28Add basic sceleton for vertex programs + some other fixesAapo Tahkola
2005-01-22Properly configure routing - based on advice by Keith Whitwell.Vladimir Dergachev
2005-01-15On the way to getting stencil working.Vladimir Dergachev
2005-01-15On the way to getting stencil and texture formats working.Vladimir Dergachev
Looks like the matter of texture formats is a lot simpler, with the wrong display in quake explained by the fact that we are not handling texture combine modes.
2005-01-11Mipmapping and other texture filters now work.Aapo Tahkola
Beaware that R300_TX_MIN_FILTER_MASK might be incorrect because i havent been able to confirm that all filters operate correctly. Because of this its also pretty pointless trying to get other features that use filter field to work. Lod bias should also work but have been unable to test it because lodbias test doesnt work.
2005-01-11Switch back to using immediate mode code - use of AGP space is interfering ↵Vladimir Dergachev
with texture management. Ideally, r300_render is ready to be rewritten to use standard Mesa include files, but I don't think I'll get around to it.
2005-01-11Move the few definitions from r300_lib.h still in use to r300_emit.h.Vladimir Dergachev
Rework *vb* function to not use AOS_ARRAY structure, but rather work directly with r300->state.aos. Remove references to r300_lib.h and r300_lib.c Remove r300_lib.[c,h].