summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
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
2005-01-28Add basic sceleton for vertex programs + some other fixesAapo Tahkola
2005-01-25Fixes for clamp modes.Aapo Tahkola
2005-01-24border_color causes lockups with vertex buffers. Disabling for now.Aapo Tahkola
2005-01-24Remove lots of old code that dealed with "magic" texture formats.Vladimir Dergachev
2005-01-23Fix more warnings and compilation issues.Nicolai Haehnle
2005-01-22Properly configure routing - based on advice by Keith Whitwell.Vladimir Dergachev
2005-01-21Properly input stencil info contributed by Wladimir.Vladimir Dergachev
2005-01-16This fixes it but why mipmaps still work?Aapo Tahkola
It doesnt look like filter constants in r300_reg.h would define number of levels.
2005-01-16I was wrong...Aapo Tahkola
2005-01-16Looks like masking masking t->filter isnt needed anymore.Aapo Tahkola
texwrap still shows some problems with clamp mode with nearest filtering.
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-14Added fixes for filter modes and support for anisotropy filters.Aapo Tahkola
Wrap modes would work perfectly but i messed up something when cleaning up the code :/ Border color code is incomplete because i forgot to check how to set border size :)
2005-01-14Remove redundant register.Vladimir Dergachev
Hook up some functions in r300Enable().
2005-01-14Reduce amount of stderr output.Vladimir Dergachev
Switch to using R300_EASY_TX_FORMAT() macro everywhere.
2005-01-14Incorporate latest data from Wladimir van der Laan.Vladimir Dergachev
2005-01-13Incorporate TX_FORMAT information contributed by Wladimir van der Laan.Vladimir Dergachev
Attempt to use it in r300_state.c We are still missing something and the formats do not quite work. Perhaps something in texture management code ?
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-11Get NeHe lesson08 to work. Note: it appears the filtering does not work ↵Vladimir Dergachev
properly. Need to find place where it is broken and put an fprintf() complaining about it.
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].
2005-01-11Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h.Vladimir Dergachev
This fixes potentially buggy memcpy()'s between potentially different structures.
2005-01-10Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev
in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
2005-01-09Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev