summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
AgeCommit message (Collapse)Author
2007-05-08r300: Removed some deprecated code from r300_context.c and corrected an unusedOliver McFadden
variable warning in r300_render.c.
2007-05-08r300: Last few r300_render.c clean up.Oliver McFadden
2007-05-08r300: Merged some comments into the Doxygen documentation.Oliver McFadden
2007-05-08r300: Cleaned up r300_render.c using Indent with appropriate options.Oliver McFadden
This corrects the mess of space and tab indenting that existed in this file, and probably others. The diff is actually very small if you use an external diff program and ignore whitespace.
2007-05-08r300: General render clean up; added some Doxygen documentation, too.Oliver McFadden
2007-05-08r300: Moved the pipeline stages together for readability.Oliver McFadden
2007-05-08r300: Print the OpenGL define instead of a 2-digit char code in the warning.Oliver McFadden
2007-05-08r300: Clean up the vertex buffer emission code and reduced code duplication.Oliver McFadden
I tested both the unoptimized and optimized versions with Quake 3 Arena; there are no problems.
2007-05-08r300: Cleaned up a lot of cruft in r300_render.c.Oliver McFadden
2007-04-17r300: r300_render.c:391: warning: unused variable 'i'Oliver McFadden
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.