summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300
AgeCommit message (Collapse)Author
2009-04-27r300: handle texcoords properlyMaciej Cencora
add 1D texture case and setup default Q value to 1.0
2009-04-27r300: remove unnecessary function callsMaciej Cencora
ae_create_context is called by vbo_CreateContext ae_invalidate_state is called by vbo_InvalidateState
2009-04-27r300: rename stateMaciej Cencora
According to r300_reg.h from radeon drm module 0x4f30 is ZB_ZMASK_OFFSET. Also cleanup as trailing whitespaces.
2009-04-27r300: remove unnecessary function callsMaciej Cencora
r300SetEarlyZState is called during r300UpdateShaderStates which is called for every rendering operation.
2009-04-24r300: fix cliprect valuesJerome Glisse
2009-04-24r300: emit cliprect when in dri2 modeJerome Glisse
2009-04-22Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
2009-04-21r300: r300 hw doesn't support any input modifiers in tex instsMaciej Cencora
2009-04-20r300: fix register-negate branch merge regressionMaciej Cencora
2009-04-19r300: fix missing function declarationMaciej Cencora
2009-04-19r300: cleanup includesMaciej Cencora
2009-04-19r300: move common fp functions to seperate fileMaciej Cencora
2009-04-19r300: more r300/r500 unificationMaciej Cencora
reuse insert_WPOS_trailer function
2009-04-19r300: more prepare for mergeMaciej Cencora
2009-04-19r300: further r300/r500 merge preparationMaciej Cencora
2009-04-19r300: merge r300/r500 fragment program compiler structureMaciej Cencora
2009-04-19r300: merge r300/r500 fragment program structuresMaciej Cencora
2009-04-19r300: r300/r500 fp shader merge WIPMaciej Cencora
2009-04-19r300: general cleanupMaciej Cencora
- remove unused fields - remove unused defines and macros - flatten one structure
2009-04-19r300: remove unnecessary forward function declarationMaciej Cencora
2009-04-19r300: context creation cleanupMaciej Cencora
- move constant values initialization to seperate function - remove obvious comments
2009-04-17r300: we always want non NDC coords format for swtclMaciej Cencora
2009-04-17r300: cleanup frag prog setup a littleMaciej Cencora
Use proper fields for marking if fp is translated, and if is translated succesfully. Now if fp gets translated (even unsuccesfully) fp->translated is true. If the translation failed (i.e. because we exceeded limit of maximum texture indirections) the fp->error is set. With a little updated fallback function it prevents non native fragment programs from beeing translated with every frame (the translation would fail anyway so there's no point to try again). Also implement IsProgramNative function for GL_FRAGMENT_PROGRAM_ARB (it should give some performance boost in apps that checks if program is native and falls back to simpler shader to meet hw limits if necessary) and cleanup indentation (remove whitespaces on empty lines).
2009-04-17r300: update r500 path for reordered WPOS and FOG fp attributesMaciej Cencora
Report and regression testing by Fabio Pedretti.
2009-04-14mesa: merge the prog_src_register::NegateBase and NegateAbs fieldsBrian Paul
There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step.
2009-04-09r300: fix color tilingDave Airlie
2009-04-09r300: reorder fog coordinate and WPOS fp attributesMaciej Cencora
HW TCL path currently assumed fog, WPOS order. The order was inverted for SW TCL path. This hopefully fixes rest of fog and WPOS related bugs. Additionally fix some indentation, don't route unnecessary components of fog coordinates for performance reasons and simplify vertex attribute emitting for SW TCL path.
2009-04-09r300: fix regression from swtcl rewriteMaciej Cencora
Fix wrong attribute emit and revert to previous behaviour of calculating VAP_OUT_VTX_FMT_1 register value. We can't use r300VAPOutputCntl1 function because it assumes that all texture coords have 4 components and that is the case for HW TCL path, but not for SW TCL.
2009-04-09Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
2009-04-07r300: swtcl rewrite and cleanupMaciej Cencora
- remove unused variables - silence compiler warnings - fix twosided lighting - fix point attenuation - unify indentation
2009-04-07radeon/r200/r300: fix missing dma buffer validationDave Airlie
this make gnome shell run
2009-04-06radeon: add support for new ttmJerome Glisse
2009-04-02radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie
This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
2009-04-02radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie
Context destruction was nearly the same over all the drivers, so collapse it down.
2009-04-02radeon: tiling supportDave Airlie
2009-04-01dri: use BorderColor instead of _BorderChanBrian Paul
2009-04-02r300: fix qtdemo qt4 startupDave Airlie
2009-04-01radeon: go back and repick texture formats.Dave Airlie
This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
2009-03-31r300: fix stencil clearsDave Airlie
2009-03-26radeon/r200/r300: set correct row stride for rbsDave Airlie
2009-03-26r300: check buffer sizes in non-tcl case + set correct VRAM limitsDave Airlie
2009-03-25r300: cleanup swtcl a littleMaciej Cencora
- remove disabled code - silence compiler warnings (uinitialized values) - remove unneeded code
2009-03-25r300_cmdbuf.c: convert cast to a form supported by Sun ccAlan Coopersmith
Fixes Sun cc error: "r300_cmdbuf.c", line 142: invalid cast expression Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25r300: Texture size limit cleanups.Michel Dänzer
Since core Mesa MAX_TEXTURE_LEVELS was bumped, we were incorrectly advertising a maximum texture size of 4096 on older chips, causing corrupted menu text in Extreme Tux Racer or Armagetron. Also make sure our texture image array can actually hold all the mipmap levels we support...
2009-03-24radeon/r200/r300: fix warningsDave Airlie
2009-03-24r300: remove lock.h linkDave Airlie
2009-03-24radeon/r200/r300: set the texture depth correctly for DRI2Dave Airlie
2009-03-23Merge branch 'radeon-fbo-hacking' into radeon-rewriteDave Airlie
2009-03-23raedon/r200/r300: mega-FBO commits.Dave Airlie
Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
2009-03-22radeon fbo: add draw offset calcsDave Airlie