summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2005-09-14fix breakage from Brians changes earlierDave Airlie
2005-09-13Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul
ctx->Driver.Stencil*Separate() functions.
2005-07-20Clean up warnings in r300 code by making some symbols static, adding prototypesEric Anholt
for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
2005-07-02Expose the fact that we do not do either selection of feedback buffers - ↵Vladimir Dergachev
either with software or hardware rendering.
2005-06-30-"fix" page flippingAapo Tahkola
-use depth tiling if tiling is enabled
2005-06-27Rename unchecked state to match DRM driver.Vladimir Dergachev
Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
2005-06-21Back out the actual enabling of depth tiling.Nicolai Haehnle
Depth tiling breaks software fallbacks and depth buffer reads. radeon_span.c **must** be updated for anything that is related to tiling.
2005-06-21r300 driver side of color tiling support.Aapo Tahkola
2005-06-21Make sure texture base addresses are used correctly.Nicolai Haehnle
They are relative to the card's address space, not relative to fbLocation, which will be important once we program MC_FB/AGP_LOCATION in the way they are programmed on older Radeon chips.
2005-06-16Fix gloss breakage when using hw tnl.Aapo Tahkola
2005-06-16Use depth tiling.Aapo Tahkola
2005-06-16Support 16-bit modes.Aapo Tahkola
2005-06-08- Secondary colourBen Skeggs
- Calculate tc_count in EmitArrays (enabled units != nr texcoords).
2005-05-28Programmable per-vertex point sizes and proper result reg assigns.Aapo Tahkola
2005-05-26constant trackingBen Skeggs
2005-05-23Implement enough of ARB_fragment_program for Keith's texenv programBen Skeggs
generation in Mesa. Requires most recent Mesa cvs to work correctly. Swizzle code is possibly slow/buggy and will probably be replaced. Old behaviour can be controlled by a #define in r300_context.h, if no-one minds I'll remove the old code later on. Also, disabled cube map extension. AFAIK We don't support it yet, and it causes issues with UT2004.
2005-05-19Ditch unused code and features that arent in subject to get supported any ↵Aapo Tahkola
near time.
2005-05-18Stick texture LOD back on.Aapo Tahkola
2005-05-18Polygon mode fixes.Aapo Tahkola
2005-05-14Make gleans polyoffset test happy.Aapo Tahkola
2005-05-14Dont assume GLbooleans are ones when true.Aapo Tahkola
2005-05-14Cleanup blend state generation.Nicolai Haehnle
Do not set the NO_SEPARATE bit, as it causes problems with some combinations of blend functions.
2005-05-11VBOs.Aapo Tahkola
2005-05-05Getting rusty... 4278 was already there.Aapo Tahkola
2005-05-05Flat shading and bunch of clarifications to r300_reg.h .Aapo Tahkola
2005-05-05Pack tex coord regs at vertex program backend.Aapo Tahkola
2005-04-30r300 side support for fixed function pipeline. This isnt functional with ↵Aapo Tahkola
current Mesa.
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-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