Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: do scope replacement for variable initializers too | Brian Paul | 2008-10-31 | 1 | -0/+11 |
| | |||||
* | mesa: fix copy/paste error in GLSL error msg | Brian Paul | 2008-10-31 | 1 | -1/+1 |
| | |||||
* | gallium: new sanity assertions in mmAllocMem() | Brian Paul | 2008-10-29 | 1 | -0/+4 |
| | |||||
* | gallium: fix copy&paste bug | Brian Paul | 2008-10-29 | 1 | -1/+1 |
| | |||||
* | gallium: fix alignment parameter passed to u_mmAllocMem() | Brian Paul | 2008-10-29 | 1 | -2/+2 |
| | | | | | | Was 32, now 5. The param is expressed as a power of two exponent. The net effect is that the alignment was a no-op on X86 but on PPC we always got the same memory address everytime rtasm_exec_malloc() was called. | ||||
* | gallium: recognize DEBUG as well as DBG for debugging | Keith Whitwell | 2008-10-28 | 1 | -1/+1 |
| | |||||
* | mesa: note that texcoords are generated by setup routines when pointsprite ↵ | Keith Whitwell | 2008-10-20 | 1 | -0/+12 |
| | | | | enabled | ||||
* | gallium: add some checks for null surface pointers in state tracker | Brian Paul | 2008-10-18 | 3 | -12/+25 |
| | | | | Fixes some segfaults in low memory situations. | ||||
* | mesa: redraw upon keypress in trivial/tri.c | Brian Paul | 2008-10-17 | 1 | -9/+7 |
| | |||||
* | gallium: fix mis-matched malloc/free vs. aligned malloc/free | Brian Paul | 2008-10-17 | 1 | -2/+2 |
| | | | | | Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined. | ||||
* | trivial: more vp tests | Keith Whitwell | 2008-10-14 | 5 | -0/+654 |
| | |||||
* | vp: add simple vertex transform test | Keith Whitwell | 2008-10-14 | 2 | -0/+22 |
| | |||||
* | mesa: modify fixed function vertex programs not to reference constant attributes | Keith Whitwell | 2008-10-14 | 2 | -30/+41 |
| | |||||
* | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | 2008-10-10 | 5 | -11/+57 |
| | | | | | | | | Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions. | ||||
* | mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAM | Brian Paul | 2008-10-09 | 1 | -1/+4 |
| | | | | Check for per-vertex point size must be done when vertex program changes. | ||||
* | mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into ↵ | Brian Paul | 2008-10-08 | 1 | -5/+36 |
| | | | | | | | | | | account Commit 1680ef869625dc1fe9cf481b180382a34e0738e7 changed the texenv program to get color from a state register instead of a constant-valued vertex attribute. This broke program concatenation (so glDraw/CopyPixels broke). Now check if the second program get's color from a constant register and handle that case appropriately. | ||||
* | Mesa: fix the case where there are no vertex attributes. | Stephane Marchesin | 2008-10-07 | 1 | -0/+2 |
| | | | | This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1 | ||||
* | trivial: add more vp tests | Keith Whitwell | 2008-10-07 | 3 | -0/+210 |
| | |||||
* | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | 2008-10-07 | 7 | -20/+22 |
| | | | | Also, fix up some comments to be doxygen style. | ||||
* | draw: don't assume output buffer pointer is aligned | Keith Whitwell | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | mesa: update state after binding vertex list in dlist path | Keith Whitwell | 2008-10-07 | 1 | -0/+5 |
| | |||||
* | trivial: exercise vertprog sligtly | Keith Whitwell | 2008-10-07 | 2 | -0/+104 |
| | |||||
* | mesa: protect against segfault in get_fp_input_mask() | Keith Whitwell | 2008-10-07 | 1 | -1/+4 |
| | |||||
* | draw: add switch for drivers to force vertex data passthrough | Keith Whitwell | 2008-10-07 | 4 | -19/+33 |
| | |||||
* | mesa: remove old assertion | Brian Paul | 2008-10-07 | 1 | -2/+0 |
| | |||||
* | gallium: replace assertion with conditional/recovery code | Brian | 2008-10-06 | 1 | -1/+5 |
| | | | | | The assertion failed when we ran out of exec memory. Found with conform texcombine test. | ||||
* | mesa: fix convolve/convolution mix-ups | Brian | 2008-10-06 | 3 | -5/+5 |
| | |||||
* | mesa: add missing GLcontext param to _mesa_delete_query(). | Brian Paul | 2008-10-06 | 2 | -2/+2 |
| | | | | Fixes vtk crash and others. | ||||
* | draw: Fix compiler errors on Windows. | Michal Krol | 2008-10-06 | 1 | -3/+3 |
| | |||||
* | rtasm: fix debug build | Keith Whitwell | 2008-10-06 | 1 | -1/+1 |
| | |||||
* | make draw's vertex_info struct smaller/quicker to compare with memcmp() | Keith Whitwell | 2008-10-06 | 9 | -29/+59 |
| | |||||
* | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | 2008-10-04 | 1 | -5/+4 |
| | |||||
* | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | 2008-10-03 | 7 | -13/+177 |
| | | | | | | | | | | | | Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. | ||||
* | Mesa: short-circuit case when looking up the same program twice in cache | Keith Whitwell | 2008-10-03 | 2 | -9/+22 |
| | |||||
* | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | 2008-10-03 | 6 | -26/+56 |
| | |||||
* | mesa: add missing state dependencies for various tracked constants | Keith Whitwell | 2008-10-03 | 1 | -0/+20 |
| | |||||
* | mesa: shrink texenvprogram state key struct | Keith Whitwell | 2008-10-03 | 1 | -5/+7 |
| | |||||
* | rtasm: add sse_movntps | Keith Whitwell | 2008-10-03 | 2 | -0/+14 |
| | |||||
* | draw: modify prefetching slightly | Keith Whitwell | 2008-10-02 | 1 | -4/+15 |
| | |||||
* | draw: don't keep refetching constant inputs | Keith Whitwell | 2008-10-02 | 6 | -62/+144 |
| | |||||
* | rtasm: add prefetch instructions | Keith Whitwell | 2008-10-02 | 2 | -0/+31 |
| | |||||
* | draw: add streamlined paths for fetching linear verts | Keith Whitwell | 2008-10-02 | 3 | -66/+134 |
| | |||||
* | mesa: Fix compiler warnings on Windows. | Michal Krol | 2008-10-01 | 2 | -2/+2 |
| | |||||
* | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | 2008-10-01 | 4 | -66/+101 |
| | |||||
* | Gallivm: port to llvm 2.4. | Stephane Marchesin | 2008-09-30 | 6 | -149/+150 |
| | |||||
* | Gallivm: fix off-by-one. | Stephane Marchesin | 2008-09-28 | 1 | -1/+1 |
| | |||||
* | Gallivm: need to link with libstdc++ for llvm. | Stephane Marchesin | 2008-09-28 | 1 | -1/+1 |
| | |||||
* | Gallivm: more instructions. | Stephane Marchesin | 2008-09-28 | 3 | -8/+73 |
| | |||||
* | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | 2008-09-28 | 5 | -485/+771 |
| | |||||
* | mesa: fix temp register allocation problems. | Brian Paul | 2008-09-26 | 1 | -0/+15 |
| | | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units). |