Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: separate shader program object from shader object. | Xiang, Haihao | 2008-02-28 | 1 | -4/+4 |
| | | | | | | | | | Currently a callback delete_shader_cb is used for deleting shader and shader program objects. Mesa detaches all attached shaders in _mesa_free_shader_program_data when deleting shader program objects. However it is likely that these shaders have been freed in _mesa_free_shader, which will result in unexpected behaviour. This fix uses a single callback for shader program objects and deletes shader program objects before shader objects. | ||||
* | mesa: set input read only on success | Markus Amsler | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | 2008-02-20 | 1 | -1/+1 |
| | |||||
* | regenerate glsl library functions | Roland Scheidegger | 2008-01-31 | 1 | -41/+42 |
| | |||||
* | fix w component of glsl vec4 asin | Roland Scheidegger | 2008-01-31 | 1 | -0/+1 |
| | |||||
* | Fix the compile of disabled DEBUG_PARSING code. | Eric Anholt | 2008-01-15 | 1 | -3/+3 |
| | |||||
* | Bug #13492: Only call ProgramStringNotify if program parsing succeeded. | Eric Anholt | 2008-01-15 | 1 | -2/+2 |
| | | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver. | ||||
* | Convert to 0/1 when setting boolean uniforms | Bruce Merry | 2008-01-01 | 1 | -0/+7 |
| | | | | Also add some extra tests to the shader_api regression tests | ||||
* | Make use of count in _mesa_uniform_matrix | Bruce Merry | 2008-01-01 | 1 | -13/+25 |
| | |||||
* | More fixes to shader_api | Bruce Merry | 2008-01-01 | 1 | -7/+16 |
| | | | | | | - return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad - correct the type-checking of uniforms from my previous commit - accept location of -1 in _mesa_uniform_matrix | ||||
* | Fix several bugs relating to uniforms and attributes in GLSL API | Bruce Merry | 2008-01-01 | 1 | -11/+73 |
| | | | | | | | | | | | - fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type - fix size returns in _mesa_get_active_attrib - fix out-of-bounds array access to vec_types in _mesa_get_active_attrib - fix queries of matrix uniforms in _mesa_get_uniformfv - fix _mesa_get_uniformfv to only return one base, even from an array - allow location == -1 in _mesa_uniform - validate types in _mesa_uniform - allow array overruns in _mesa_uniform | ||||
* | return correct size from glGetActiveUniform (bug 13751) | Brian | 2007-12-20 | 1 | -3/+55 |
| | |||||
* | make sure state token values are fully initialized | Roland Scheidegger | 2007-12-11 | 2 | -2/+2 |
| | |||||
* | Fix gl_FrontFacing compilation problem | Brian | 2007-12-04 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | joukj | 2007-11-30 | 10 | -165/+214 |
|\ | |||||
| * | Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c | Brian | 2007-11-29 | 2 | -3/+98 |
| | | |||||
| * | set fp->UsesKill when emitting OPCODE_KIL | Brian | 2007-11-27 | 1 | -2/+8 |
| | | |||||
| * | Consolidate texture fetch code and use partial derivatives when possible. | Brian | 2007-11-23 | 2 | -64/+67 |
| | | |||||
| * | Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on ↵ | Brian | 2007-11-23 | 2 | -5/+15 |
| | | | | | | | | variable array indexes. | ||||
| * | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Roland Scheidegger | 2007-11-09 | 3 | -84/+26 |
| | | | | | | | | these should be the same functions (as per spec). | ||||
| * | remove dead code in _mesa_new_program() | Brian | 2007-11-01 | 1 | -7/+0 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-31 | 7 | -3/+135 |
|\| | |||||
| * | disable ctx->Driver.NewProgram() call in _mesa_new_program() | Brian | 2007-10-29 | 1 | -0/+5 |
| | | | | | | | | | | | | This was causing infinite recursive calls w/ software drivers. All vertex/fragment shaders should be allocated by calling ctx->Driver.NewProgram(), not by calling _mesa_new_program(). | ||||
| * | Merge branch '965-glsl' | Zou Nan hai | 2007-10-26 | 2 | -0/+3 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | ||||
| | * | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Zou Nan hai | 2007-07-17 | 14 | -61/+61 |
| | |\ | | | | | | | | | | | | | into 965-glsl | ||||
| | * | | Use ProgramStringNotify | Zou Nan hai | 2007-07-17 | 1 | -0/+2 |
| | | | | |||||
| | * | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Zou Nan hai | 2007-07-04 | 42 | -1851/+2778 |
| | |\ \ | | | | | | | | | | | | | | | | into 965-glsl | ||||
| | * | | | Initial 965 GLSL support | Zou Nan hai | 2007-04-12 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | add to git | Brian | 2007-10-24 | 2 | -0/+109 |
| | | | | | |||||
| * | | | | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 2 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | Contains the normalized fragment position within a point sprite. | ||||
| * | | | | remove unneeded cast | Brian | 2007-10-11 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | fix comment: s/branch/kill/ | Brian | 2007-10-02 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Update of OpenVMS makefiles for the use of "new" include file convention | Jouk | 2007-10-03 | 2 | -2/+8 |
| | | | | | |||||
* | | | | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-02 | 11 | -86/+176 |
|\| | | | | |||||
| * | | | | added program_error2() function for better error reporting | Brian | 2007-09-13 | 1 | -47/+60 |
| | | | | | |||||
| * | | | | Fix state.texgen parsing error (bug 12313). | Brian | 2007-09-13 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | Replace *(*inst++) with *(*inst)++ in a few places. | ||||
| * | | | | For _mesa_share_state(), update the context's references to the new share ↵ | Brian | 2007-08-23 | 2 | -0/+46 |
| | | | | | | | | | | | | | | | | | | | | group's objects (Shane Blackett) | ||||
| * | | | | fix potential NULL dereference (bug 11880) | Brian | 2007-08-07 | 1 | -2/+6 |
| | | | | | |||||
| * | | | | fix swizzle error test (bug 11881) | Brian | 2007-08-07 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | fix failure caused by undeclared variable (bug 11783) | Brian | 2007-07-31 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | glGetAttribLocation always returned 1 (bug 11774) | Brian | 2007-07-31 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | fix-up inlined/non-inlined function inconsistencies | Brian | 2007-07-26 | 2 | -9/+12 |
| | | | | | |||||
| * | | | | Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion. | Brian | 2007-07-26 | 4 | -18/+29 |
| | | | | | |||||
| * | | | | generate error upon writing to varying var in fragment program (bug 11733) | Brian | 2007-07-26 | 1 | -5/+8 |
| | | | | | |||||
* | | | | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-07-25 | 17 | -117/+131 |
|\| | | | | |||||
| * | | | | call ctx->Driver.NewProgram() instead of _mesa_new_program() | Brian | 2007-07-24 | 2 | -2/+2 |
| | |_|/ | |/| | | |||||
| * | | | fix shader/info string length queries (bug 11588) | Jan Dvorak | 2007-07-13 | 1 | -3/+3 |
| | | | | |||||
| * | | | fix swizzle-related bug 11534 | Brian | 2007-07-12 | 1 | -2/+3 |
| | | | | |||||
| * | | | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 14 | -56/+55 |
| | |/ | |/| | | | | | | | of -I flags. | ||||
| * | | added vec2(vec4) constructor, bug 11404 | Brian | 2007-07-03 | 2 | -54/+60 |
| | | |