Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i915tex: Take into account various mapping states when dropping the | Thomas Hellstrom | 2007-02-14 | 1 | -2/+13 |
| | | | | batch buffer after a resolution / rotation switch. | ||||
* | I965: fix a failure on waiting irq. | Xiang, Haihao | 2007-02-12 | 1 | -1/+2 |
| | | | | | Wait until getting the right fence if drm/i915 resets the counter. | ||||
* | fd.o #BZ 9684 | Zou Nan hai | 2007-02-12 | 1 | -1/+2 |
| | | | | | gcc may cast an overflowed float value to an negative int value on i386, fix it to make sure at least some apps will not crash if it contains wrong normal data. | ||||
* | r300: Add proper support for sin/cos instruction in fragment program | Rune Peterson | 2007-02-12 | 6 | -121/+175 |
| | | | | | | | | | | | 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[]. | ||||
* | ctx->Point._Size fix | Rune Peterson | 2007-02-10 | 3 | -26/+7 |
| | |||||
* | optimize per-pixel fog program | Roland Scheidegger | 2007-02-09 | 2 | -50/+31 |
| | | | | | | | use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested) | ||||
* | array overflow fix | Zou Nan hai | 2007-02-09 | 1 | -2/+2 |
| | |||||
* | r200: simplify / unify input map handling for vp and fftnl | Roland Scheidegger | 2007-02-09 | 5 | -334/+141 |
| | | | | | | Use the same input map handling for fftnl and vertex programs. It doesn't enable any new functionality (should make it easy to support per-vertex materials though), but the code is much cleaner. | ||||
* | optimize generated vertex programs a bit | Roland Scheidegger | 2007-02-09 | 5 | -32/+71 |
| | | | | | | | | Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested... | ||||
* | fix issues in vp when using FRAG_BIT_WPOS in a fragment program (bug #9910) | Roland Scheidegger | 2007-02-09 | 1 | -20/+15 |
| | | | | | | Redirect all VERT_RESULT_HPOS writes to a temp and use that for fixup. The viewport transformation still seems to take some shortcuts, and it still does not seem to work at all... | ||||
* | nouveau: a couple of NV3x fixes | Ben Skeggs | 2007-02-06 | 5 | -5/+45 |
| | |||||
* | Add support for CN700 chipset in miniglx | Jakob Bornecrantz | 2007-02-06 | 2 | -0/+2 |
| | |||||
* | fix issues when using mixed-mode pos-invariant vp and ff tnl (bug #9856) | Roland Scheidegger | 2007-02-05 | 1 | -19/+32 |
| | | | | | | | | | ARB_vp requires vertex transformation to be invariant to fixed function tnl if the position_invariant option is used. So the same function needs to be used, otherwise z-fighting artifacts may happen with applications which rely on the results being really the same due to precision issues when dealing with floating point values (may not be a problem when using a non-optimizing compiler strictly following IEEE rules). | ||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Brian | 2007-02-05 | 1 | -2/+2 |
|\ | |||||
| * | nouveau: OUT_RINGp expects the size in dwords, not bytes. | Ben Skeggs | 2007-02-06 | 1 | -2/+2 |
| | | | | | | | | This fixes the *actual* bug that the previous commit was supposed to fix.. | ||||
* | | fix mem leak | Panagiotis Papadakos | 2007-02-05 | 1 | -0/+3 |
|/ | |||||
* | fix mem leaks | Panagiotis Papadakos | 2007-02-05 | 2 | -0/+5 |
| | |||||
* | nouveau: fix a small bug in nv10 swtcl | Ben Skeggs | 2007-02-06 | 1 | -1/+1 |
| | |||||
* | nouveau: new bufferobj code. | Ben Skeggs | 2007-02-06 | 3 | -169/+562 |
| | | | | | | | | | | | The old code suffered from a number of issues, the most severe being that with the Mesa VBO merge even swtcl used the driver's bufferobj interface. On most VBO types (or non-AGP cards) the buffer ended up in vram, and killed swtcl performance greatly. All bufferobj's start in system memory now, until they get referenced as a "real" VBO. The other big change is that only potentially "damaged" areas are uploaded/downloaded to/from the hardware. | ||||
* | break if we removed driver from Drivers list in driDestroyDisplay | Panagiotis Papadakos | 2007-02-05 | 1 | -0/+1 |
| | | | | Else we read memory we just released, in for statement. | ||||
* | nouveau: nv10: add init for unknown 0x120 | Patrice Mandin | 2007-02-04 | 1 | -0/+8 |
| | |||||
* | nouveau: fix nv04 and nv10 swtcl, more work on nv04 state. | Stephane Marchesin | 2007-02-04 | 4 | -14/+118 |
| | |||||
* | nouveau: forgot function declaration | Patrice Mandin | 2007-02-03 | 1 | -0/+1 |
| | |||||
* | nouveau: nv50: use nv50 state | Patrice Mandin | 2007-02-03 | 1 | -1/+3 |
| | |||||
* | Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. | Brian | 2007-02-03 | 1 | -0/+1 |
| | | | | | This fixes a segfault in the texgen code that can occur after we've disabled a vertex program. | ||||
* | Merge branch 'origin' | Michel Dänzer | 2007-02-03 | 6 | -255/+20 |
|\ | |||||
| * | nouveau: fix viewport clipping initialization | Patrice Mandin | 2007-02-03 | 1 | -5/+6 |
| | | |||||
| * | nouveau: use color pitch as depth pitch if depth disabled | Patrice Mandin | 2007-02-03 | 1 | -5/+3 |
| | | |||||
| * | disable r200 materials-between-begin-end check if vertex progs are enabled | Roland Scheidegger | 2007-02-03 | 1 | -5/+7 |
| | | |||||
| * | remove now unused vtxfmt stuff from radeon/r200 header files | Roland Scheidegger | 2007-02-03 | 3 | -239/+3 |
| | | |||||
| * | fix errorneously adding fog state params to all vertex programs... | Roland Scheidegger | 2007-02-03 | 1 | -1/+1 |
| | | |||||
* | | Fall back to software rasterization if r300_translate_fragment_shader() fails. | Michel Dänzer | 2007-02-03 | 2 | -1/+11 |
| | | | | | | | | Aborting immediately is a bad idea with AIGLX. | ||||
* | | Remove unused r200 files from r300 driver directory. | Michel Dänzer | 2007-02-03 | 4 | -2507/+0 |
| | | |||||
* | | r300CreateContext: Really initialize r300->initialMaxAnisotropy. | Michel Dänzer | 2007-02-03 | 1 | -0/+2 |
|/ | |||||
* | Merge branch 'vbo-0.2' | Keith Whitwell | 2007-02-02 | 170 | -17878/+5430 |
|\ | | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c | ||||
| * | Merge branch 'vbo-0.2-origin' into vbo-0.2 | Keith Whitwell | 2007-02-02 | 1 | -5/+7 |
| |\ | |||||
| | * | fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo. | Roland Scheidegger | 2007-02-01 | 1 | -5/+7 |
| | | | |||||
| * | | Modify assert to reflect rebase criteria | Keith Whitwell | 2007-02-02 | 1 | -1/+9 |
| |/ | |||||
| * | Correct usage/meaning of max_index parameter. | Keith Whitwell | 2007-02-01 | 2 | -2/+4 |
| | | |||||
| * | Cope with internally-generated null inputs. | Keith Whitwell | 2007-02-01 | 1 | -3/+6 |
| | | |||||
| * | Use new rebase helper. Remove other rebase code. | Keith Whitwell | 2007-01-30 | 8 | -233/+185 |
| | | |||||
| * | Helper for rebasing draw requests where min_index != 0. | Keith Whitwell | 2007-01-30 | 3 | -0/+236 |
| | | |||||
| * | New tests for the array functions which also provoke rebasing. | Keith Whitwell | 2007-01-30 | 7 | -0/+786 |
| | | |||||
| * | do not rebase index buffers as it does not work currently (tested with r200 ↵ | Roland Scheidegger | 2007-01-25 | 1 | -2/+3 |
| | | | | | | | | and sw mesa) | ||||
| * | allocate larger minimum dstelt buffer | Roland Scheidegger | 2007-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | increase the minimum dstelt buffer size to avoid triggering an assertion later because the split is triggered before the buffer is full. This fixes cases where the vbo_split_copy path is hit because of maximum index limit, where the dstelt buffer size needed could be very small (doom3 hit that assertion with a vertex count of just 3) | ||||
| * | fix dstelt memory allocation to avoid hash corruption | Roland Scheidegger | 2007-01-25 | 1 | -1/+1 |
| | | |||||
| * | remove tnl/t_vtx_x86_gcc.S file from sources as it no longer exists | Roland Scheidegger | 2007-01-25 | 1 | -2/+1 |
| | | |||||
| * | re-fix bug 9062 in vbo code | Roland Scheidegger | 2007-01-25 | 1 | -0/+5 |
| | | |||||
| * | typo fix. this case still fails. | Aapo Tahkola | 2007-01-18 | 1 | -1/+1 |
| | | |||||
| * | Fix invalid enums passed to MapBuffer | Aapo Tahkola | 2007-01-18 | 1 | -1/+1 |
| | |