summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
AgeCommit message (Collapse)Author
2007-03-24r300: Fix texture coordinate calculation for rectangle texturesNicolai Haehnle
R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture.
2007-03-13r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; notOliver McFadden
enough information is known about them to be sure as to what the values mean.
2007-03-13Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.Oliver McFadden
Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these values are really unknown; ideally more reverse engineering should be done to determine what these values mean and when they should be set.
2007-03-13Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to eitherOliver McFadden
R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
2007-03-13Guess another unknown register used for R300 pacification.Oliver McFadden
2007-02-12r300: Add proper support for sin/cos instruction in fragment programRune Peterson
Getting proper SIN and COS wasn't as easy as it appeared. I had to make make some changes to the fragment program code. general FP changes: - support HHH swizzle for vector instructions. - don't copy a source to a temp when it is not XYZW swizzled, but combine the two and have the swizzle resolve any issues. (saves temps/instructions with more elaborate shader code) - fix overflow in cnstv[].
2007-02-03Fall back to software rasterization if r300_translate_fragment_shader() fails.Michel Dänzer
Aborting immediately is a bad idea with AIGLX.
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-01-18support as much of GL_EXT_stencil_two_side as we can. untested.Aapo Tahkola
2006-10-31disable vtxfmt_a code, switch over to vboKeith Whitwell
2006-09-14Fallback if ColorLogicOp is enabled. Cleanup a bit the fallbackJerome Glisse
function.
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-22extend some DrawRangeElements cases to support rendering more than 65535 ↵Aapo Tahkola
verts in one blast. ut2k4 cases in other words ...
2006-08-11support shorts as vertex dataAapo 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-04-23enable feedback renderingAapo Tahkola
2006-04-11Fog support (Ewald Snel)Aapo Tahkola
2006-04-08fix some conflict happenings at context destroy by freeing buffers ↵Aapo Tahkola
immediately. array locking can be done with vbos for vtxfmt_a so we dont really need to try to reuse them.
2006-03-31More meaningful warning.Aapo Tahkola
2006-03-19-fix texrect fallback when using vtxfmt_a (glitz, xgl, etc.)Aapo Tahkola
-struct vertex_buffer to struct radeon_vertex_buffer conversion -vertex attrib arrays did not supersede conventinal arrays when enabled
2006-03-13Clean build.Aapo Tahkola
2006-01-27missing link in the fallback chainAapo Tahkola
2006-01-27enable hw vertex programs by defaultAapo Tahkola
2006-01-27per vp sw fallbacksAapo Tahkola
2005-12-17I think this has been tested well enough already.Aapo Tahkola
2005-12-04Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie
sw tcl
2005-11-01Re-enable fallbacks.Aapo Tahkola
2005-11-01-Fix first frame -bugAapo Tahkola
-Use 16-bit elts in vtxfmt_a path if possible -Optimize VSF param uploading -return in r300DepthMask looks suspicious, use r300Enable instead -Dont use r300ResetHwState in invalidate state(disabled, missing hooks, possible instabilities)
2005-10-26Reduce stderr noise and fix some compiler warnings.Aapo Tahkola
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
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-16Fix problems with elts when immediate mode is on.Aapo Tahkola
2005-05-19Ditch unused code and features that arent in subject to get supported any ↵Aapo Tahkola
near time.
2005-05-18Polygon mode fixes.Aapo Tahkola
2005-05-11VBOs.Aapo Tahkola
2005-05-06Missing setups that cause all kinds of problems with hw tnl.Aapo Tahkola
2005-05-01Add support to external tnl switcher and disable hw tnl by default.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-03-18Misc fixes.Aapo Tahkola
2005-03-17Simple TCL stage and ability to disable vps.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-05Enable VB mode rendering by default. If anyone thinks this is wrong, ↵Vladimir Dergachev
*please* feel free to change it back. My reasons: * immediate mode is broken * vb mode is faster * vb mode is the right way to do it.
2005-02-22New elt buffer code should be fairly stable.Aapo Tahkola
2005-02-20Adding support for front buffer mode, removing some code we dont really need ↵Aapo Tahkola
and some new debugging stuff.
2005-02-19Disabling some fallbacks as they cause misc programs not to start and adding ↵Aapo Tahkola
some comments.
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.