summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
AgeCommit message (Collapse)Author
2007-06-10r300: i can't see why we fallback for polygon offset line/fillDave Airlie
2007-06-02r300: fix non-tcl rs4xx again.Dave Airlie
2007-05-30r300: Only support size 4 ELTs; this is what Mesa provides.Oliver McFadden
2007-05-30r300: Use the CP_PACKET3 macro for Type 3 packets.Oliver McFadden
I haven't converted all of the Type 3 packets to the CP_PACKET3 macro yet because some of the Type 3 packet defines are missing from the R300 register definition file. These defines need to be copied from DRM and Mesa into the R300 register definition file then copied into both DRM and Mesa.
2007-05-30r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path.Oliver McFadden
The VTXFMT code was broken by the new VBO branch and the OPTIMIZE_ELTS path relied on the VTXFMT code... I'm not even sure if the OPTIMIZE_ELTS path ever worked; the testing that I did after minimizing the code duplication would have taken the same path as the non-OPTIMIZE_ELTS code.
2007-05-30r300: Cleaned up the AOS code in r300_render.c.Oliver McFadden
2007-05-20r300: Added TODO comment regarding immediate mode implementation.Oliver McFadden
2007-05-17r300: Removed the radeon_vertex_buffer structure.Tommy Schultz Lassen
2007-05-13r300: A few very minor indenting corrections.Oliver McFadden
2007-05-11r300: Use __FUNCTION__ not __func__.Oliver McFadden
Just for consistency; most of the code already uses __FUNCTION__.
2007-05-11r300: Assert if the primitive type is unknown; this can't really happen.Oliver McFadden
2007-05-11r300: Moved some code around in r300_render.c and general clean up.Oliver McFadden
2007-05-11r300: Removed some checking in r300NumVerts that is not needed.Oliver McFadden
According to Aapo Tahkola the OpenGL specification defines the behaviour when there are not enough vertices for the primitive type, thus DRI drivers do not need to perform verification on the number of vertices per primitive.
2007-05-11r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.Oliver McFadden
2007-05-10r300: Moved some more emit code into r300_render.c.Oliver McFadden
2007-05-10r300: Moved some more of the emit code into r300_render.c.Oliver McFadden
2007-05-09r300: Name the render functions in r300_render.c consistently.Oliver McFadden
2007-05-09r300: Return -1 for error.Oliver McFadden
2007-05-09r300: Probably a good idea to always check the vertices; it's a WARN_ONCE so theOliver McFadden
performance impact is extremely minimal.
2007-05-09r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden
2007-05-09r300: Don't need to include the deprecated r300_program.h in some files.Oliver McFadden
The only file that still requires r300_program.h is r300_ioctl.c; and it should use the new defines in r300_reg.h!
2007-05-09r300: Removed the deprecated VTXFMT code.Oliver McFadden
This was okayed by Jerome Glisse and Keith Whitwell on the dri-devel IRC channel and list, respectively.
2007-05-09r300: The empty check_space doesn't and never has done anything; removed it.Oliver McFadden
2007-05-09r300: Fix a couple of static errors.Oliver McFadden
2007-05-09r300: Fixed some more function names.Oliver McFadden
Note there might be some calls to the old function names in conditionally disabled code, but I think I've got them all.
2007-05-09r300: Added a "not implemented yet" comment back.Oliver McFadden
2007-05-09r300: Last of the indent changes. :)Oliver McFadden
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.