summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
AgeCommit message (Collapse)Author
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-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-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-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-18Reset nr_released_bufs to 0 after the command buffer has been submitted.Nicolai Haehnle
Added a more verbose comment about nr_released_bufs in r300_context.h
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-15Share routing code between immd/vb. Fix breakage of vertex programs in vb mode.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-10Removing some regs that are wrong and adding some comments to r300_reg.h .Aapo Tahkola
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-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-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-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-03Get Polygon offset fill to work.Vladimir Dergachev
Make WARN_ONCE message more informative.
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-02-01Reduce noiseness of the driver.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-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-24border_color causes lockups with vertex buffers. Disabling for now.Aapo Tahkola
2005-01-23Remove unused variables from r300_contextNicolai Haehnle
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-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-09Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev
2005-01-04Major code restructuring:Vladimir Dergachev
* move proven code into the r300_state.c * update ClearBuffer to cope with more dynamic state * cleanup !
2005-01-03Add structs describing vertex and pixel shader state to r300_state.Vladimir Dergachev
Take apart program_pipeline() and move it into appropriate pieces within the driver. Test the framework on run_flat_render()
2005-01-03Enable code to compute other constants that were used by R200 code.Vladimir Dergachev
Add fprintf to print these constants. Correct t->size computation, so it works now.
2005-01-03Port texture allocation code from R200.Vladimir Dergachev
Hook it up, so lesson06 displays red colored textures.
2005-01-02Add texture units registersVladimir Dergachev
2004-12-31Qualify the magic 20B0 register as SE_VTE_CNTL similar to R200. Looks like ↵Vladimir Dergachev
disabling Z offset and scaling displays gears properly, not sure why. Perhaps the meaning of the bits has changed ? Cleanup code a bit.
2004-12-30Change default RS settings so that glxgears will display something..Vladimir Dergachev
2004-12-30Clarify some of the unkXXXX atoms.Vladimir Dergachev
2004-12-30Port viewport setting code from R200.Vladimir Dergachev
Take it outside R300ResetHwState.
2004-12-16The types uint32_t and uint8_t are not used in Mesa tree.Vladimir Dergachev
Put a couple of defines to use GL counterparts.