summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: simplify tgsi_full_immediate structKeith Whitwell2009-07-221-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 realRichard Li2009-07-211-5/+5
| | | | This fixes segfaults in apps like teapot and tunnel
* Revert "r600: fix dst reg indexing"Alex Deucher2009-07-211-9/+2
| | | | | | This reverts commit cc893d9a98255d3c26df7123ba5cc02e478c9328. Richard has the proper fix.
* r600: add stencil supportAlex Deucher2009-07-211-15/+146
|
* r600: use state functions to set default stateAlex Deucher2009-07-211-33/+59
|
* r600: fill in point functionsAlex Deucher2009-07-211-8/+45
|
* r600: set provoking vertex to last vertex for OGLAlex Deucher2009-07-211-0/+3
|
* r600: fill in r700UpdateViewportOffsetAlex Deucher2009-07-211-3/+14
|
* r600: first pass at polyoffset supportAlex Deucher2009-07-211-13/+106
| | | | not working yet
* radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS caseJerome Glisse2009-07-211-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 problemsAlex Deucher2009-07-212-89/+1
|
* r600: add alpha test supportAlex Deucher2009-07-213-5/+54
|
* Track Radeon driver symlinks in Git.Michel Dänzer2009-07-2198-167/+96
|
* i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled.Eric Anholt2009-07-201-1/+2
| | | | | | Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo. Bug #18844, 22077.
* r600: fix typo in blend codeAlex Deucher2009-07-201-1/+1
|
* r600: fix dst reg indexingKevin DeKorte2009-07-201-2/+9
| | | | This fixes segfaults in apps like teapot and tunnel
* r600: add blending supportAlex Deucher2009-07-201-13/+197
|
* r600: add user clip plane supportAlex Deucher2009-07-203-2/+56
|
* r600: add logicop supportAlex Deucher2009-07-201-2/+41
|
* Merge branch 'mesa_7_5_branch'Michel Dänzer2009-07-201-2/+2
|\
| * radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.Michel Dänzer2009-07-201-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 compilationKevin DeKorte2009-07-201-3/+3
| |
* | R6xx/r7xx: Fix line stipple and width issueCooper Yuan2009-07-201-0/+34
| |
* | Add common_ppc.c to MESA_GALLIUM_SOURCES.Michel Dänzer2009-07-201-0/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-07-174-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.5Brian Paul2009-07-171-1/+1
| |
| * mesa: Fix logbase2.José Fonseca2009-07-161-7/+5
| | | | | | | | It was providing 1 too many for non power two values.
| * Fix state flag dependencies for fixed function fragment program updates.Brian Paul2009-07-152-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 messagesKeith Whitwell2009-07-152-3/+38
| |
| * mesa: split out errorstring switch from _mesa_errorKeith Whitwell2009-07-151-36/+26
| | | | | | | | Move a chunk of code out of _mesa_error()
| * mesa: remove dead code in _mesa_errorKeith Whitwell2009-07-151-6/+0
| | | | | | | | Remove early and unused snprintf and where[] string.
| * mesa: don't call getenv every time _mesa_error is calledKeith Whitwell2009-07-151-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 Paul2009-07-141-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 fileBrian Paul2009-07-141-5/+6
| |
| * mesa: Report the true face number when flushing.José Fonseca2009-07-141-3/+8
| |
* | R6xx/R7xx: add fine grained syncing supportAlex Deucher2009-07-173-52/+50
| |
* | R6xx/r7xx: send depth state in it's own functionAlex Deucher2009-07-172-96/+65
| |
* | R200: fix build when RADEON_DEBUG_BO is setAlex Deucher2009-07-171-0/+6
| |
* | radeon: disable BO debugDave Airlie2009-07-181-1/+1
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Alex Deucher2009-07-175-21/+32
|\ \ | | | | | | | | | into r6xx-rewrite
| * | egl: Remove redundant DeletePending flag.Chia-I Wu2009-07-171-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <[email protected]>
| * | egl: Use the link functions to manage resources.Chia-I Wu2009-07-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <[email protected]>
| * | texenv: Calculate whether we need to do secondary color on our own.Eric Anholt2009-07-162-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | The _TriangleCaps bit is deprecated, not updated when we require, and is set based on state that hasn't been updated at that point in _mesa_update_state_locked(). Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.
| * | i965: Add missing state dependency of sf_unit on _NEW_BUFFERS.Eric Anholt2009-07-161-2/+4
| | |
| * | st/mesa: add some array index bounds assertionsBrian Paul2009-07-161-0/+5
| | |
* | | R6xx/r7xx: warning fixesKevin DeKorte2009-07-175-0/+11
| | | | | | | | | | | | patch from Kevin DeKorte with some minor fixes from me.
* | | R6xx/r7xx: disable depth/stencil compression for nowAlex Deucher2009-07-171-0/+2
| | |
* | | R6xx/r7xx: add some missing state regsAlex Deucher2009-07-172-23/+28
| | |
* | | R6xx: fix rendering on r6xx/rs780 chipsAlex Deucher2009-07-163-1/+43
| | | | | | | | | | | | | | | | | | You always need to emit a fetch shader (fs) even if you aren't using it. For now, just emit the fs with the vs address to make the kernel happy.
* | | Warning fixesKevin DeKorte2009-07-163-16/+19
| | |