summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2005-04-18Fixing and enabling elt buffers by default.Aapo Tahkola
2005-04-18Alpha test fixPeter Zubaj
2005-03-18Misc fixes.Aapo Tahkola
2005-03-17Simple TCL stage and ability to disable vps.Aapo Tahkola
2005-03-16Proper VAP output configuration as R300_RS_ROUTE_0_COLOR became optional and ↵Aapo Tahkola
broke arbvptorus(takes no input color but produces output color). Also removing some useless code.
2005-03-16Fixed some strangeness when mixing textured/flat primitives. Skipping ↵Ben Skeggs
texture units should render correctly also. Aapo, I dont think I broke glxgears again on you...
2005-03-15Fix to get glxgears display anything.Aapo Tahkola
2005-03-15Initial multitexturing support. Old behaviour can be re-enabled by changing ↵Ben Skeggs
ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
2005-03-14Stencil supportPeter Zubaj
Reflex from mesa demos doesn't work TODO - double side stencil I hope that I didn't break anything
2005-03-12Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.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-05Do properly initialize ALPHA_TEST register instead of carefully preserving ↵Vladimir Dergachev
bogus value. This fixes many, many rendering issues which I wrongly blamed on texture programming or performance..
2005-03-04Set pipes for R420 cards. Gives a nice speedup. This needs to be tested on ↵Rune Petersen
r420 cards with less than 16 pipes.
2005-02-28fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping ↵Aapo Tahkola
VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise.
2005-02-24Another nasty struct size bug found.Aapo Tahkola
2005-02-22New elt buffer code should be fairly stable.Aapo Tahkola
2005-02-21Add code to autogenerate vertex shaders.Vladimir Dergachev
This is needed for multitexturing to work properly.
2005-02-20Adding support for front buffer mode, removing some code we dont really need ↵Aapo Tahkola
and some new debugging stuff.
2005-02-19Minor fix to border and blend color.Aapo Tahkola
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-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-16small cleanup, remove some warningsRune Petersen
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-10Removing some regs that are wrong and adding some comments to r300_reg.h .Aapo Tahkola
2005-02-10Support for PolygonMode. Not too far from working even though i almost gave ↵Aapo Tahkola
up once already.
2005-02-10Fix copy'n'paste errors.Vladimir Dergachev
Print command buffer sizes during startup (TODO: remove 1 || when the driver is more mature).
2005-02-10Turns out unknown5 was border color. texwrap looks good now.Aapo Tahkola
2005-02-10Adding support for selecting line width. Stipple patterns still cause lots ↵Aapo Tahkola
of trouble.
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-08Remove #ifdef's around PolygonOffset function.Vladimir Dergachev
Print number of missing entry for texture format. Add alpha-luminance format.
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-08Let Polygon Offset be turned on and off.Vladimir Dergachev
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-05Modified hw state for big endian computers.Jerome Glisse
2005-02-05Warn of unknown texture formats.Vladimir Dergachev
2005-02-03Start beginning of pixel shader generator..Vladimir Dergachev
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-03This was too optimistic sorry - all that register does is something weird ↵Vladimir Dergachev
with polygon culling.
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-01Reduce noiseness of the driver.Vladimir Dergachev
2005-02-01Get alpha in textures to work properly.Vladimir Dergachev
2005-02-01Properly set ABLEND and CBLEND registers. The older code worked, but by ↵Vladimir Dergachev
accident.
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-29Beginings of program generation. This code havent been tested nor hooked up.Aapo Tahkola