Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ARB prog parser: Set correct register file for OUTPUT variables | Ian Romanick | 2009-07-28 | 2 | -199/+213 |
| | |||||
* | ARB prog parser: Add support for GL_MESA_texture_array | Ian Romanick | 2009-07-27 | 7 | -1464/+1560 |
| | | | | This isn't really tested yet as no drivers actually support this extension. | ||||
* | ARB prog parser: More robust error message for bad OPTION string | Ian Romanick | 2009-07-27 | 2 | -236/+244 |
| | |||||
* | ARB prog parser: Add support for GL_ARB_fragment_program_shadow | Ian Romanick | 2009-07-27 | 5 | -1451/+1578 |
| | | | | | Passes the piglit asmparsertest shadow-0[123].txt tests and progs/demos/shadowtex. | ||||
* | ARB prog parser: Fix handling of RECT | Ian Romanick | 2009-07-27 | 5 | -415/+424 |
| | | | | | Require that GL_{ARB,EXT,NV}_texture_rectangle be supported before allowing use of RECT texture target. | ||||
* | ARB prog: Fix parameters to _mesa_calloc | Ian Romanick | 2009-07-27 | 1 | -1/+1 |
| | | | | | So totally awesome that _mesa_calloc has a different parameter signature than calloc. Why do these libc wrappers still exist?!? | ||||
* | ARB prog parser: Correct handling of some extensions that interact w/ARB_vp | Ian Romanick | 2009-07-27 | 3 | -178/+211 |
| | |||||
* | ARB prog: Update generated files missed on previous two commits | Ian Romanick | 2009-07-27 | 2 | -6/+2 |
| | | | | The changes are, as it turns out, purely cosmetic. | ||||
* | ARB prog: Delete comment about possibly needing to free a buffer | Ian Romanick | 2009-07-27 | 1 | -4/+0 |
| | | | | | Valgrind doesn't complain about a leak here, so delete the comment about possibly needing to free the state returned by yy_scan_bytes. | ||||
* | ARB prog: Clean up several memory leaks | Ian Romanick | 2009-07-27 | 3 | -10/+69 |
| | | | | | As far as I am able to determine via code inspection and using Valgrind, that should be all of the leaks in the parser. | ||||
* | Add destructor for symbol_table | Ian Romanick | 2009-07-27 | 2 | -3/+18 |
| | |||||
* | Add destructor for hash_table | Ian Romanick | 2009-07-27 | 2 | -3/+21 |
| | |||||
* | ARB prog: Layout parameters from parameter type, not src type | Ian Romanick | 2009-07-24 | 1 | -1/+9 |
| | | | | | | | | Use the type stored in the Parameters array to determine the layout instead of the type in the instruction register field. Also, update the instruction register field based on the parameter type. This makes Google Earth work exactly like with Mesa master. | ||||
* | ARB prog: _mesa_print_program output should go to same place as _mesa_printf | Ian Romanick | 2009-07-24 | 1 | -1/+1 |
| | |||||
* | ARB prog parse: Fix cut-and-paste error for constant vectors | Ian Romanick | 2009-07-24 | 2 | -55/+67 |
| | |||||
* | ARB prog: get frag prog texture info from the right place | Ian Romanick | 2009-07-24 | 2 | -5/+3 |
| | | | | This gets basic texturing working. w00t! | ||||
* | parser: Clean up a bunch of silly compiler warnings | Ian Romanick | 2009-07-22 | 3 | -266/+280 |
| | |||||
* | parser: Track a few more frag prog related values | Ian Romanick | 2009-07-22 | 2 | -227/+261 |
| | |||||
* | parser: Ensure that param_binding_type is set correctly | Ian Romanick | 2009-07-22 | 2 | -0/+8 |
| | |||||
* | GIT ignore program_parse.output | Ian Romanick | 2009-07-22 | 1 | -0/+1 |
| | |||||
* | parser: Set NumParameters | Ian Romanick | 2009-07-22 | 2 | -0/+4 |
| | |||||
* | parser: Clean up generation of error strings during assembly | Ian Romanick | 2009-07-22 | 3 | -13/+120 |
| | |||||
* | parser: Initialize unused instruction source registers | Ian Romanick | 2009-07-22 | 2 | -0/+8 |
| | | | | | | The 965 driver expects unused source registers (e.g., SrcReg[2] of a DP3 instruction) to have a register file of PROGRAM_UNDEFINED. Initializing these source registers ensures that this happens. | ||||
* | parser: Anonymous constants come from the PROGRAM_CONSTANT file | Ian Romanick | 2009-07-22 | 2 | -198/+202 |
| | |||||
* | ARB_fp/vp: Initial import of new ARB vp/fp assembler | Ian Romanick | 2009-07-20 | 16 | -50/+12596 |
| | | | | | This still needs quite a bit of work, but a bunch of the programs in progs/vp produce correct results. | ||||
* | Add new _mesa_new_parameter_list_sized to pre-allocate a parameter list | Ian Romanick | 2009-07-20 | 2 | -0/+31 |
| | |||||
* | 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 |
| | | |||||
* | | radeon: disable BO debug | Dave Airlie | 2009-07-18 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Alex Deucher | 2009-07-17 | 5 | -21/+32 |
|\ \ | | | | | | | | | | into r6xx-rewrite | ||||
| * | | egl: Remove redundant DeletePending flag. | Chia-I Wu | 2009-07-17 | 1 | -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 Wu | 2009-07-17 | 1 | -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 Anholt | 2009-07-16 | 2 | -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. |