Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300/program_pair: Dynamically allocate instructions temporarily | Nicolai Hähnle | 2009-07-27 | 4 | -105/+237 |
| | | | | | | | In preparation of using TGSI, where we cannot easily predict the number of instructions. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Detangle fragment program compiler from driver-specific structure | Nicolai Hähnle | 2009-07-27 | 27 | -577/+669 |
| | | | | | | | | This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | radeon: Add r6xx/r7xx chip family to get_chip_family_name | Pauli Nieminen | 2009-07-27 | 1 | -0/+11 |
| | | | | | | This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r600: fix textures | Alex Deucher | 2009-07-27 | 1 | -1/+1 |
| | | | | | | We weren't allocating enough gprs for the fragment shader in some cases. There are likely other issues that still need to be sorted out for textures, but at least they now work. | ||||
* | r600: don't draw when num indices is 0 | Alex Deucher | 2009-07-27 | 1 | -0/+3 |
| | | | | fixes engine demo | ||||
* | r600: set VGT NUM_INSTANCES as part of the draw command | Alex Deucher | 2009-07-27 | 4 | -17/+18 |
| | | | | | | set VGT NUM_INSTANCES as part of the draw command rather than as state as recommended by the pm4 guide. Also, use the NUM_INSTANCES packet. | ||||
* | r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSET | Alex Deucher | 2009-07-27 | 1 | -1/+1 |
| | | | | noticed by vehemens on IRC. | ||||
* | r600: switch vtx resource setup to use SETfield macros | Alex Deucher | 2009-07-27 | 1 | -9/+13 |
| | | | | For consistency | ||||
* | r600: switch tex code to use SETfield macros | Alex Deucher | 2009-07-27 | 2 | -210/+332 |
| | | | | for consistency with the rest of the code. | ||||
* | r600: fix segfault in morph3d | Alex Deucher | 2009-07-23 | 1 | -17/+17 |
| | | | | | These attributes still need work, but it shouldn't hurt to enable them. | ||||
* | r600: Remove CRLF line endings. | José Fonseca | 2009-07-23 | 1 | -1/+1 |
| | |||||
* | r300: fix address register handling in NQSSADCE | Maciej Cencora | 2009-07-22 | 1 | -5/+7 |
| | | | | For address register we always use X component | ||||
* | gallium: simplify tgsi_full_immediate struct | Keith Whitwell | 2009-07-22 | 1 | -1/+5 |
| | | | | | | | | | | | | | Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables. | ||||
* | r600: fix dst reg indexing for real | Richard Li | 2009-07-21 | 1 | -5/+5 |
| | | | | This fixes segfaults in apps like teapot and tunnel | ||||
* | Revert "r600: fix dst reg indexing" | Alex Deucher | 2009-07-21 | 1 | -9/+2 |
| | | | | | | This reverts commit cc893d9a98255d3c26df7123ba5cc02e478c9328. Richard has the proper fix. | ||||
* | r600: add stencil support | Alex Deucher | 2009-07-21 | 1 | -15/+146 |
| | |||||
* | r600: use state functions to set default state | Alex Deucher | 2009-07-21 | 1 | -33/+59 |
| | |||||
* | r600: fill in point functions | Alex Deucher | 2009-07-21 | 1 | -8/+45 |
| | |||||
* | r600: set provoking vertex to last vertex for OGL | Alex Deucher | 2009-07-21 | 1 | -0/+3 |
| | |||||
* | r600: fill in r700UpdateViewportOffset | Alex Deucher | 2009-07-21 | 1 | -3/+14 |
| | |||||
* | r600: first pass at polyoffset support | Alex Deucher | 2009-07-21 | 1 | -13/+106 |
| | | | | not working yet | ||||
* | radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS case | Jerome Glisse | 2009-07-21 | 1 | -2/+2 |
| | | | | | We need to emit a relocation for pitch register so that kernel can check and properly setup tiling on the color buffer. | ||||
* | R600: fix up some build problems | Alex Deucher | 2009-07-21 | 2 | -89/+1 |
| | |||||
* | r600: add alpha test support | Alex Deucher | 2009-07-21 | 3 | -5/+54 |
| | |||||
* | Track Radeon driver symlinks in Git. | Michel Dänzer | 2009-07-21 | 98 | -167/+96 |
| | |||||
* | i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled. | Eric Anholt | 2009-07-20 | 1 | -1/+2 |
| | | | | | | Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo. Bug #18844, 22077. | ||||
* | r600: fix typo in blend code | Alex Deucher | 2009-07-20 | 1 | -1/+1 |
| | |||||
* | r600: fix dst reg indexing | Kevin DeKorte | 2009-07-20 | 1 | -2/+9 |
| | | | | This fixes segfaults in apps like teapot and tunnel | ||||
* | r600: add blending support | Alex Deucher | 2009-07-20 | 1 | -13/+197 |
| | |||||
* | r600: add user clip plane support | Alex Deucher | 2009-07-20 | 3 | -2/+56 |
| | |||||
* | r600: add logicop support | Alex Deucher | 2009-07-20 | 1 | -2/+41 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Michel Dänzer | 2009-07-20 | 1 | -2/+2 |
|\ | |||||
| * | radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil. | Michel Dänzer | 2009-07-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0) | ||||
* | | r600: Fix compilation | Kevin DeKorte | 2009-07-20 | 1 | -3/+3 |
| | | |||||
* | | R6xx/r7xx: Fix line stipple and width issue | Cooper Yuan | 2009-07-20 | 1 | -0/+34 |
| | | |||||
* | | Add common_ppc.c to MESA_GALLIUM_SOURCES. | Michel Dänzer | 2009-07-20 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-07-17 | 4 | -72/+91 |
|\| | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h | ||||
| * | mesa: set version to 7.5 | Brian Paul | 2009-07-17 | 1 | -1/+1 |
| | | |||||
| * | mesa: Fix logbase2. | José Fonseca | 2009-07-16 | 1 | -7/+5 |
| | | | | | | | | It was providing 1 too many for non power two values. | ||||
| * | Fix state flag dependencies for fixed function fragment program updates. | Brian Paul | 2009-07-15 | 2 | -1/+11 |
| | | | | | | | | | | | | | | I started looking into why _NEW_ARRAY punishes us, and while annotating dependencies noticed that a bunch of dependencies were missing. (cherry picked from master, commit e5f63c403b767f9974e8eb5d412c012b8a69287f) | ||||
| * | mesa: recognize and eliminate repeated error messages | Keith Whitwell | 2009-07-15 | 2 | -3/+38 |
| | | |||||
| * | mesa: split out errorstring switch from _mesa_error | Keith Whitwell | 2009-07-15 | 1 | -36/+26 |
| | | | | | | | | Move a chunk of code out of _mesa_error() | ||||
| * | mesa: remove dead code in _mesa_error | Keith Whitwell | 2009-07-15 | 1 | -6/+0 |
| | | | | | | | | Remove early and unused snprintf and where[] string. | ||||
| * | mesa: don't call getenv every time _mesa_error is called | Keith Whitwell | 2009-07-15 | 1 | -11/+14 |
| | | | | | | | | | | | | Buggy apps can generate thousands of mesa_error calls. Don't need to keep calling getenv to retreive the same MESA_DEBUG string each time. | ||||
| * | mesa: fix texture border color code for glPopAttrib() | Brian Paul | 2009-07-14 | 1 | -7/+1 |
| | | | | | | | | | | The texture object's border color used to be stored as GLchan but it's been GLfloat for a while now. | ||||
| * | mesa: regenerated enums.c file | Brian Paul | 2009-07-14 | 1 | -5/+6 |
| | | |||||
| * | mesa: Report the true face number when flushing. | José Fonseca | 2009-07-14 | 1 | -3/+8 |
| | | |||||
* | | R6xx/R7xx: add fine grained syncing support | Alex Deucher | 2009-07-17 | 3 | -52/+50 |
| | | |||||
* | | R6xx/r7xx: send depth state in it's own function | Alex Deucher | 2009-07-17 | 2 | -96/+65 |
| | | |||||
* | | R200: fix build when RADEON_DEBUG_BO is set | Alex Deucher | 2009-07-17 | 1 | -0/+6 |
| | |