summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300
AgeCommit message (Collapse)Author
2006-09-12Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse
and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
2006-09-04Managed to make a commit that can't build... Sorry again...Rune Petersen
2006-09-03add missing change to skip low impact RAST fallback...Rune Petersen
Sorry.
2006-08-31re-apply shader fix.Rune Petersen
appears to have been reverted by mistake.
2006-08-31Give the user posibility to choose speed over correctness.Rune Petersen
It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact.
2006-08-28Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String toBrian Paul
determine if we actually have a program. See "[r300] TCL fallback with Quake3".
2006-08-26fix #8008Aapo Tahkola
2006-08-24fix bad casts, carry over r200 fix to check for null program string in ↵Brian Paul
r300_translate_vertex_shader()
2006-08-23silence warningBrian Paul
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-22remove duplicate pieces of code.Aapo Tahkola
2006-08-22extend some DrawRangeElements cases to support rendering more than 65535 ↵Aapo Tahkola
verts in one blast. ut2k4 cases in other words ...
2006-08-22fix broken write-only depth setting. use early z where possible.Aapo Tahkola
2006-08-15Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick
2006-08-12gcc-4.1.1 compile fixAapo Tahkola
2006-08-11support shorts as vertex dataAapo Tahkola
2006-07-31fix #6991Aapo Tahkola
2006-07-27r300_emit.h cleanup.Jerome Glisse
Remove unused macro Replace LOCAL_VAR, PREFIX* Indent code Remove radeon redundant CP type 3 packet
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-07-15A small logic error.Rune Petersen
We need to call do_swizzle() when the scaler _or_ vector unit have a swizzle other 000/ZERO/111/ONE. This ensures that the gloss on banners in ut2004 is not angel-dependent (since when was banners glossy?).
2006-07-11_mesa_destroy_context() frees radeon->glCtx so we must not access it afterwardsTilman Sauerbeck
2006-07-09Fix #7195Aapo Tahkola
2006-07-05R300_RR_ROUTE_1 still needs to be initialized.Aapo Tahkola
2006-07-04Add R300_VAP_CNTL 0x2140 and cosmetic cleanup.Jerome Glisse
2006-07-03Add copyright header and minor cleanup.Jerome Glisse
2006-07-01initialize offset to avoid bogus warnings from valgrindTilman Sauerbeck
2006-06-30Vertex/fragment program patches (Rune Petersen)Brian Paul
2006-06-29Fix typo.Jerome Glisse
2006-06-29destroy left-over VBOs on shutdownTilman Sauerbeck
2006-06-29instead of messing with _TNL_LAST_GENERIC and _TNL_FIRST_GENERIC, use ↵Tilman Sauerbeck
_TNL_NUM_GENERIC. this fixes an off-by-one error (we didn't handle the final attribute)
2006-06-29cleanup, avoid magic valuesTilman Sauerbeck
2006-06-27Fix stencil clears that have caused problems with redbook/stencil, ↵Aapo Tahkola
tests/stencilwrap and ut2k4 adrenaline pills.
2006-06-27Fix generic vertex attribs (Rune Petersen)Aapo Tahkola
2006-06-23more cleanupsTilman Sauerbeck
2006-06-18no need to handle ARL in a special way, it's a generic scalar operation. ↵Tilman Sauerbeck
only tested on r300.
2006-06-18fix broken address register readsAapo Tahkola
2006-06-12Make r300 driver build with GL_APPLE_vertex_array_object changes.Ian Romanick
Sorry for the breakage. These changes are only build tested.
2006-06-11destroy the memory manager along with the contextTilman Sauerbeck
2006-06-08include tnl/tnl.h for _tnl_program_string()Tilman Sauerbeck
2006-06-08mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck
2006-06-08struct op_names: get rid of the 'output operands' field as it's not used ↵Tilman Sauerbeck
(Roland Scheidegger)
2006-06-06prevent possible program mix up with sw vps (Roland Scheidegger)Aapo Tahkola
2006-06-06prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola
ctx->_MaintainTnlProgram is set
2006-06-06make sure tex format is supported.Aapo Tahkola
2006-06-06various fixes (Roland Scheidegger)Aapo Tahkola
2006-06-02remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger
request at least drmMinor 6 anyway.
2006-06-01retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger
intention as drm seems to never return EAGAIN) in all radeon drivers.
2006-05-31SWZ is nearly identical to MOV. the difference is that SWZ supports ↵Tilman Sauerbeck
per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
2006-05-31pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵Tilman Sauerbeck
r300's VSF_FLAGs now
2006-05-30minor code cleanup, no actual changesTilman Sauerbeck