summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.c
AgeCommit message (Collapse)Author
2007-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
2007-07-18r300: Cleaned up vertprog construction.Oliver McFadden
Construct the vertprog instruction in the 4 DWORD parts... DWORD 0: Opcode and Output. DWORD 1: First Argument. DWORD 2: Second Argument. DWORD 3: Third Argument. Allow the opcode translation functions to generate more than one instruction; useful for when an instruction must be emulated. FLR, XPD, etc.
2007-07-16r300: Use the R300_PVS_UPLOAD_* defines.Oliver McFadden
2007-07-16r300: Major vertex program code clean up and rework.Oliver McFadden
2007-07-13r300: Moved some hardware initialization into appropriate functions.Oliver McFadden
2007-07-13r300: Use a switch statement in r300UpdateCulling.Oliver McFadden
2007-07-11r300: Corrected r300UpdateCulling; would only set font face if culling was set.Tommy Schultz Lassen
2007-07-01Merge branch 'r300-swtcl'Dave Airlie
2007-06-24r300: Initial work on merging the real and generated vertex program functions.Oliver McFadden
2007-06-24r300: Should use inst_count not 0 for R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT.Oliver McFadden
2007-06-24r300: The vpi, vpp, and vps counts are already initialized; don't do it twice.Oliver McFadden
2007-06-24r300: Clean up the vertex program state code slightly; still needs lots of work.Oliver McFadden
2007-06-24r300: Vertex program position end bits are known.Oliver McFadden
Possibly performance may improve by setting it to the last instruction that writes result.position, rather than the last instruction in the vertex program.
2007-06-24r300: Removed unused vap_param structure.Oliver McFadden
2007-06-24r300: Cleaned up long lines in the vertex functions.Oliver McFadden
2007-06-24r300: Setup the default state for polygon offset point/line.Oliver McFadden
I believe there are still bugs with all polygon offset types. The point and line types may need to be handled specially, too. This shouldn't break anything because it just enabled the occlusion control bits for polygon offset.
2007-06-24r300: Cleaned up the r300SetupVertexShader function.Oliver McFadden
2007-06-24r300: Cleaned up the r300SetupPixelShader function.Oliver McFadden
2007-06-24r300: 2288 is a tcl only regDave Airlie
2007-06-21r300: Corrected a bug in r300LineWidth.Oliver McFadden
Thanks to Panagiotis Papadakos for reporting it.
2007-06-10r300: i can't see why we fallback for polygon offset line/fillDave Airlie
2007-05-30r300: Corrected r300PointSize based on dumping the blob.Oliver McFadden
The OpenGL specification also verifies the default point size should be 1.0.
2007-05-30r300: Corrected r300LineWidth based on dumping the blob.Oliver McFadden
The OpenGL specification also verifies the default line width should be 1.0.
2007-05-30r300: Removed goto statement in r300SetupRSUnit.Oliver McFadden
2007-05-30r300: Cleaned up r300SetupRSUnit.Oliver McFadden
2007-05-30r300: Use compile-time endian detection in r300_state.c as well as ↵Oliver McFadden
r300_texstate.c. Probably best to not mix-and-match compile-time and run-time detection...
2007-05-30r300: Document registers 0x2220 to 0x2230.Oliver McFadden
These registers are per-pixel and per-vertex X and Y clipping planes.
2007-05-27Revert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines."Oliver McFadden
This reverts commit bb3558e6517209086cf8426bbe4743da50351158. This commit caused a regression reported by Markus Amsler <markus.amsler@oribi.org>. Apparently these defines are required, although I'm not sure why.
2007-05-26r300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR.Oliver McFadden
2007-05-25r300: Removed unused vpucount macro from r300_state.c.Oliver McFadden
2007-05-23r300: Call the r300Fogfv function directly within r300_state.c.Oliver McFadden
This required moving the r300Enable function but there are no actual changes.
2007-05-23r300: Use switch statements in r300ResetHwState, etc.Oliver McFadden
2007-05-23r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.Oliver McFadden
Supposedly you need to set these values for the interpolaters to work, but they seem to work fine without these values.
2007-05-13r300: Changed some more functions to static functions.Oliver McFadden
This required reordering some of the functions which is why the diff is a little larger.
2007-05-13r300: Changed a couple of functions in r300_state.c to static functions.Oliver McFadden
2007-05-13r300: Use the defined values for the interpolater (interp_magic) magic values.Oliver McFadden
2007-05-11r300: Moved r300PackFloat24 near r300PackFloat32.Oliver McFadden
2007-05-11r300: Cleaned up the blend factor function.Oliver McFadden
2007-05-11r300: Use __FUNCTION__ not __func__.Oliver McFadden
Just for consistency; most of the code already uses __FUNCTION__.
2007-05-11r300: Cleaned up function names in r300_state.c.Oliver McFadden
2007-05-11r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.Oliver McFadden
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: Added some Doxygen comments.Christoph Bill
2007-05-09r300: Converted "rp" variables (r300_fragment_program) to "fp".Oliver McFadden
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: Fixed indenting from previous commitOliver McFadden
d28f6d91760374e2eb71b541b0f259f81dd73c69.
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: Indented r300_state.[ch].Oliver McFadden
2007-05-09r300: Corrected the exit codes for consistency; they are all -1 for error now.Oliver McFadden
The one exception is 300FlushCmdBuf.