Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make sure we upload the new vertex program if the program string changes. | Roland Scheidegger | 2006-09-13 | 1 | -0/+2 | |
| | ||||||
* | make triangle smoothing a sw fallback (Martign van Oosterhout) | Brian Paul | 2006-09-13 | 1 | -1/+1 | |
| | ||||||
* | Fix compilation warning. | Jerome Glisse | 2006-09-12 | 1 | -9/+12 | |
| | ||||||
* | Removing some of r200 dependency, cleaning up code a bit, | Jerome Glisse | 2006-09-12 | 11 | -191/+142 | |
| | | | | | | | and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300). | |||||
* | quieten debug | Keith Whitwell | 2006-09-12 | 2 | -4/+4 | |
| | ||||||
* | Potential fix for doom3 lockups. Seems that there is a conflict | Keith Whitwell | 2006-09-12 | 3 | -6/+7 | |
| | | | | | | | | | | between the vertex cache, the vertex shader and the clipping stages, all of which are competitors for URB entries assigned to the VS unit. This change reduces the maximum number of clip and VS threads by enough to ensure that they cannot consume all the available URB entries, and then reduces the number somewhat more up to an arbitary amount I discovered by trial and error. Unfortunately trial and error solutions don't inspire total confidence... | |||||
* | Disassemble active program when DEBUG_VS is set. | Keith Whitwell | 2006-09-12 | 1 | -0/+7 | |
| | ||||||
* | Add code to tweak aubfile state and primitives on replay. | Keith Whitwell | 2006-09-12 | 1 | -14/+296 | |
| | ||||||
* | Encode a unique id in the aub header date fields. | Keith Whitwell | 2006-09-12 | 1 | -4/+8 | |
| | ||||||
* | remove code to deal with non-normalized texture coordinates for tex rect ↵ | Roland Scheidegger | 2006-09-10 | 5 | -168/+42 | |
| | | | | targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles). | |||||
* | don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel | Brian Paul | 2006-09-10 | 1 | -1/+2 | |
| | ||||||
* | cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv ↵ | Roland Scheidegger | 2006-09-10 | 1 | -0/+3 | |
| | | | | conversion appears only to work on first unit. | |||||
* | Basic facility for playing back captured aubfiles. Requires a small | Keith Whitwell | 2006-09-08 | 8 | -0/+201 | |
| | | | | | | hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring. | |||||
* | cause a vtxfmt fallback directly when hitting NewList for radeon and r200 ↵ | Roland Scheidegger | 2006-09-08 | 2 | -0/+20 | |
| | | | | drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure. | |||||
* | Consistent return values from the bm* functions. | Keith Whitwell | 2006-09-07 | 5 | -12/+9 | |
| | | | | Get aubfile generation working again. | |||||
* | Cope with memory pool fragmentation by allowing a second attempt at | Keith Whitwell | 2006-09-07 | 13 | -154/+321 | |
| | | | | | | | | rendering operations to take place after evicting all resident buffers. Cope better with memory allocation failures throughout the driver and improve tracking of failures. | |||||
* | Fix glitch with pool alignments. | Keith Whitwell | 2006-09-07 | 2 | -2/+2 | |
| | ||||||
* | Use lower alignments where possible. Also pad out allocated blocks to | Keith Whitwell | 2006-09-07 | 7 | -12/+20 | |
| | | | | a multiple of alignment to avoid accumulating unusable free blocks. | |||||
* | Make sure bmBufferOffset is called for all active buffers every time | Keith Whitwell | 2006-09-07 | 9 | -26/+20 | |
| | | | | | we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE(). | |||||
* | make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're ↵ | Roland Scheidegger | 2006-09-07 | 2 | -2/+1 | |
| | | | | already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1). | |||||
* | Fix a leak of the screen's option cache on cleanup (copied from radeon). | Eric Anholt | 2006-09-07 | 1 | -0/+3 | |
| | ||||||
* | Simplify the immediate and displaylist code. Treat VertexAttrib*ARB | Keith Whitwell | 2006-09-06 | 18 | -1091/+759 | |
| | | | | | as non-aliasing and cope with the >32 attributes that result, taking materials into account. | |||||
* | Dynamically allocate instruction store for tnl programs according to | Keith Whitwell | 2006-09-05 | 1 | -15/+21 | |
| | | | | requirements. | |||||
* | Fixes for calculating point attenuation | Keith Whitwell | 2006-09-04 | 1 | -9/+14 | |
| | ||||||
* | Don't export NV_vertex_program as it's not supported, it confuses | Keith Whitwell | 2006-09-04 | 1 | -3/+0 | |
| | | | | | glean, and we no longer need to export it to keep Mesa happy as we did at one time. | |||||
* | Managed to make a commit that can't build... Sorry again... | Rune Petersen | 2006-09-04 | 1 | -0/+1 | |
| | ||||||
* | fog state atom contains (only) fog params necessary for tcl. Must not be ↵ | Roland Scheidegger | 2006-09-04 | 1 | -2/+2 | |
| | | | | emitted if vertex progs are enabled as it overlaps vertex param #94. | |||||
* | add missing change to skip low impact RAST fallback... | Rune Petersen | 2006-09-03 | 1 | -14/+17 | |
| | | | | Sorry. | |||||
* | fix the presumably broken check for the allow_large_textures and vblank_mode ↵ | Roland Scheidegger | 2006-09-01 | 3 | -3/+3 | |
| | | | | options (same as bug 8042). | |||||
* | make sure vertex programs are only enabled on the hw when they are really ↵ | Roland Scheidegger | 2006-09-01 | 2 | -9/+11 | |
| | | | | enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060. | |||||
* | Catch a few more cases of using a message reg as an instruction source | Keith Whitwell | 2006-09-01 | 1 | -17/+37 | |
| | | | | arg. | |||||
* | fix a couple of cases where a message reg is used as an instruction source. | Keith Whitwell | 2006-09-01 | 2 | -6/+26 | |
| | ||||||
* | re-apply shader fix. | Rune Petersen | 2006-08-31 | 1 | -1/+1 | |
| | | | | appears to have been reverted by mistake. | |||||
* | When using the old technique to set up the front buffer mapping, there | Keith Whitwell | 2006-08-31 | 1 | -1/+1 | |
| | | | | | is no need to add front.offset to sPriv->pFB, it seems. Fixes several glean issues and frontbuffer rendering generally. | |||||
* | Give the user posibility to choose speed over correctness. | Rune Petersen | 2006-08-31 | 3 | -2/+18 | |
| | | | | | | It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact. | |||||
* | check if ext->name is null before strcmp() | Brian Paul | 2006-08-31 | 1 | -1/+1 | |
| | ||||||
* | do not abort with not supported vertex prog output configuration, fallback ↵ | Roland Scheidegger | 2006-08-31 | 1 | -3/+19 | |
| | | | | instead | |||||
* | Handle API and dispatch table changes that removed a bunch of extension ↵ | Karl Schultz | 2006-08-30 | 2 | -114/+50 | |
| | | | | entry points. | |||||
* | Use XAddExtension() to register an XCloseDisplay() callback function. | Brian Paul | 2006-08-30 | 4 | -5/+103 | |
| | | | | | | When the callback is called, free all Mesa's private visual and buffer data structures which are tied to the display. Fixes problems reported by Kitware. | |||||
* | Minor r200 vertex program cleanups. Remove disabled leftovers from r300 ↵ | Roland Scheidegger | 2006-08-30 | 2 | -62/+24 | |
| | | | | vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong). | |||||
* | fix typo causing a segfault when a vertex program uses more than 96 parameters | Roland Scheidegger | 2006-08-30 | 1 | -1/+1 | |
| | ||||||
* | Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to | Brian Paul | 2006-08-28 | 2 | -2/+2 | |
| | | | | determine if we actually have a program. See "[r300] TCL fallback with Quake3". | |||||
* | remove unused var | Brian Paul | 2006-08-28 | 1 | -1/+0 | |
| | ||||||
* | fix the check for force_s3tc_enable (bug 8042) | Brian Paul | 2006-08-28 | 1 | -1/+1 | |
| | ||||||
* | close #6318 | Aapo Tahkola | 2006-08-27 | 1 | -7/+4 | |
| | ||||||
* | Fix bug 8010 - locking issues. | Alan Hourihane | 2006-08-26 | 1 | -4/+2 | |
| | ||||||
* | fix #8008 | Aapo Tahkola | 2006-08-26 | 1 | -8/+4 | |
| | ||||||
* | include texobj.h to silence warning | Brian Paul | 2006-08-25 | 1 | -0/+1 | |
| | ||||||
* | Add a couple of the missing GL 2.0 functions. Enable GLX protocol for | Ian Romanick | 2006-08-25 | 1 | -11/+15 | |
| | | | | | glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic. | |||||
* | fix bad casts, carry over r200 fix to check for null program string in ↵ | Brian Paul | 2006-08-24 | 1 | -2/+5 | |
| | | | | r300_translate_vertex_shader() |