Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rbug: Add Gallium Remote Debugger Protocol code | Jakob Bornecrantz | 2009-06-01 | 20 | -2/+3052 |
| | | | | This is the (de)marshalling and connection managment code | ||||
* | util: Add simple network functions | Jakob Bornecrantz | 2009-06-01 | 4 | -0/+214 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-30 | 1 | -1/+15 |
|\ | |||||
| * | softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON | Brian Paul | 2009-05-30 | 1 | -1/+15 |
| | | | | | | | | | | | | | | This fixes the incorrect colors seen when rendering flat-shaded polygons. Note that clipped polygons were correct, but unclipped polygons were wrong. See the glean/clipFlat test for regression testing. | ||||
* | | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON" | Brian Paul | 2009-05-30 | 3 | -6/+1 |
| | | | | | | | | | | | | | | This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. This fixed unclipped polygons, but broke clipped polygons. A better fix from the mesa 7.5 branch will be merged next... | ||||
* | | softpipe: update comments for max texture size | Brian Paul | 2009-05-29 | 1 | -2/+2 |
| | | |||||
* | | softpipe: increase max 2D/cube texture size to 4K x 4K | Brian Paul | 2009-05-29 | 1 | -2/+2 |
| | | |||||
* | | r300-gallium, radeon-gallium: Make add_buffer indicate when a flush is needed. | Corbin Simpson | 2009-05-28 | 4 | -23/+50 |
| | | | | | | | | On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that. | ||||
* | | nv50: some mipmapping fixes | Ben Skeggs | 2009-05-28 | 4 | -22/+31 |
| | | |||||
* | | nv50: negate sources directly where supported | Christoph Bumiller | 2009-05-28 | 1 | -42/+68 |
| | | |||||
* | | nv50: introduce emit_cvt and use it | Christoph Bumiller | 2009-05-28 | 1 | -40/+48 |
| | | | | | | | | | | This makes some code cleaner, and we can now easily do CEIL and TRUNC. | ||||
* | | nv50: fix TXP | Christoph Bumiller | 2009-05-28 | 1 | -23/+112 |
| | | | | | | | | | | | | | | | | For TXP we need to divide texture coords by their w component, or use the coords' 1/w in the perspective interpolation instruction. This also tries to support 1D, 3D and CUBE textures, and lets the instruction only load the components that are used. | ||||
* | | nv50: use multiple constant buffers | Christoph Bumiller | 2009-05-28 | 4 | -48/+105 |
| | | | | | | | | | | | | | | Use different buffers for immds, FP params, and VP params. One has to map constant buffer indices in shader code to buffers defined via CB_DEF. In principle, we could use more buffers so we'd have to change the shader code less frequently. | ||||
* | | nv50: don't look for unfreed temps in free_nv50_pc | Christoph Bumiller | 2009-05-28 | 1 | -8/+0 |
| | | | | | | | | | | Since we stopped using alloc_temp to get hw indices for FP attrs there shouldn't be any non-deallocated temps left. | ||||
* | | nv50: release hw TEMPs early | Christoph Bumiller | 2009-05-28 | 1 | -0/+19 |
| | | | | | | | | | | Since we know when we don't use a TEMP or FP ATTR register anymore, we can release their hw resources early. | ||||
* | | nv50: allow immediates for MOV, ADD and MUL | Christoph Bumiller | 2009-05-28 | 1 | -5/+22 |
| | | | | | | | | | | | | Immediates are inlined now where possible, so we need to set pc->allow32 to FALSE in LIT where we have the conditional MOV, since immediates swallow the predicate bits. | ||||
* | | nv50: enable half insns for MOV and MUL | Christoph Bumiller | 2009-05-28 | 1 | -7/+12 |
| | | |||||
* | | nv50: make sure half-long insns are paired | Christoph Bumiller | 2009-05-28 | 1 | -0/+72 |
| | | | | | | | | | | | | | | I chose to just convert unpaired 32 bit length instructions after parsing all instructions, although it might be possible to determine beforehand whether there would be any lone ones, and then even do some swapping to bring them together ... | ||||
* | | nv50: enable KIL in register 19a8 | Christoph Bumiller | 2009-05-28 | 1 | -0/+1 |
| | | |||||
* | | nv50: don't overwrite sources before they're used | Christoph Bumiller | 2009-05-28 | 1 | -12/+83 |
| | | | | | | | | | | This would have happened in p.e. ADD TEMP[0], TEMP[0].xyxy, TEMP[1] or RCP/RSQ TEMP[i], TEMP[i]. | ||||
* | | nv50: put FP outputs where they belong | Christoph Bumiller | 2009-05-28 | 1 | -4/+37 |
| | | | | | | | | | | Depth output in fragment programs should end up in the first register after the color outputs. | ||||
* | | nv50: modified FP attribute loading | Christoph Bumiller | 2009-05-28 | 2 | -45/+147 |
| | | | | | | | | | | | | | | | | VP outputs that should be loadable in the FP are mapped to interpolant indices by HPOS, COL0 etc.; of course HPOS is always written, so the highest byte of 1988 is a bitmask that selects which components of HPOS are used for interpolants, i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]). | ||||
* | | nv50: inspect decl semantic and interpolation mode | Christoph Bumiller | 2009-05-28 | 1 | -1/+74 |
| | | | | | | | | | | | | Record interpolation mode for attributes while parsing declarations, and also remember the indices of FP color inputs and FP depth output, which has to end up in the highest output register. | ||||
* | | nv50: record last access to temp and attr regs | Christoph Bumiller | 2009-05-28 | 1 | -0/+127 |
| | | | | | | | | | | | | | | We now inspect the TGSI instructions in tx_prep to determine where temps and FP attrs are last accessed. This will enable us to reclaim some temporaries early and we also use it to omit pre-loading FP attributes that aren't used. | ||||
* | | nv50: save some space in immediate buffer | Christoph Bumiller | 2009-05-28 | 1 | -1/+7 |
| | | | | | | | | | | We could do even better (like just allocating 1 value in alloc_immd), but that's fine for now I guess. | ||||
* | | nv50: fix SIGN_SET case in tgsi_src | Christoph Bumiller | 2009-05-28 | 1 | -1/+1 |
| | | |||||
* | | nv50: set dst.z,w to 0,1 in SCS and XPD | Christoph Bumiller | 2009-05-28 | 1 | -0/+14 |
| | | | | | | | | | | According to tgsi-instruction-set.txt, if they are written, z and w should be set to 0 and 1 respectively in SCS, and w to 1.0 in XPD. | ||||
* | | nv50: make LRP instruction nicer | Christoph Bumiller | 2009-05-28 | 1 | -6/+3 |
| | | |||||
* | | nv50: fix some memory leaks in shader assembler | Christoph Bumiller | 2009-05-28 | 1 | -25/+63 |
| | | |||||
* | | nouveau: explicitly request mappable buffers for the moment | Ben Skeggs | 2009-05-28 | 1 | -0/+1 |
| | | |||||
* | | draw: Fix assertion failure at fetch_emit_prepare | Mike Kaplinksiy | 2009-05-27 | 1 | -0/+6 |
| | | |||||
* | | demos: remove some old debug/test code | Brian Paul | 2009-05-27 | 1 | -5/+2 |
| | | |||||
* | | softpipe: comments | Brian Paul | 2009-05-27 | 1 | -0/+2 |
| | | |||||
* | | softpipe: include sp_winsys.h to silence warning (unprototyped function) | Brian Paul | 2009-05-27 | 1 | -0/+1 |
| | | |||||
* | | softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON | Brian Paul | 2009-05-27 | 3 | -1/+6 |
| | | | | | | | | Use the first vertex, not the last. | ||||
* | | st/mesa: init Format field of vertex arrays for feedback mode | Brian Paul | 2009-05-27 | 1 | -0/+1 |
| | | | | | | | | Fixes segfault in glRasterPos() | ||||
* | | i915: Fall back on NPOT textured metaops on 830-class. | Eric Anholt | 2009-05-26 | 3 | -0/+30 |
| | | |||||
* | | i915: Restore the Viewport and DepthRange functions on 8xx. | Eric Anholt | 2009-05-26 | 1 | -0/+21 |
| | | | | | | | | | | | | | | Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473. | ||||
* | | intel: Override MaxRenderbufferSize with hardware constraints | Chris Wilson | 2009-05-26 | 1 | -0/+7 |
| | | | | | | | | | | Limit the maximum renderbuffer size to 8192 on i965 and to 2048 on earlier hardware. | ||||
* | | mesa: fix warning message in vbo_exec_DrawRangeElements() | Brian Paul | 2009-05-22 | 1 | -1/+2 |
| | | |||||
* | | mesa: add missing update_min() call in update_arrays() | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements | Brian Paul | 2009-05-22 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48). | ||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -3/+2 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | mesa: simplify adjust_buffer_object_ref_counts() | Brian Paul | 2009-05-22 | 1 | -12/+14 |
| | | |||||
* | | mesa: minor code clean-up | Brian Paul | 2009-05-22 | 1 | -18/+19 |
| | | |||||
* | | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 3 | -5/+5 |
| | |