Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-06 | implement full reference counting for vertex/fragment programs | Brian | |
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | |||
2008-04-23 | glcore: drop outdated sources files intented for xorg | George Sapountzis | |
2008-04-22 | revert part of the previous cleanup - it only applies | Alan Hourihane | |
to the 7.0 branch | |||
2008-04-22 | Fix error string | Alan Hourihane | |
2008-04-22 | correct the return value | Alan Hourihane | |
2008-04-22 | small cleanups | Alan Hourihane | |
2008-04-14 | fix GL_ARB_texture_rectangle breakage | Brian Paul | |
2008-04-14 | define #extension GL_ARB_texture_rectangle | David Flynn | |
2008-04-11 | fix failed assertion (parameter can be a PROGRAM_CONSTANT) | Brian Paul | |
2008-04-03 | rewrite some of the mat*mat, mat*vec intrinsics | Brian | |
Also, remove obsolete matrix codegen code. | |||
2008-03-31 | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | |
2008-03-31 | mesa: Free all shader program data before deleting all | Xiang, Haihao | |
shader/shader program objects to avoid memory access error. | |||
2008-03-31 | Revert "mesa: separate shader program object from shader object." (bug#15244) | Xiang, Haihao | |
This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb. | |||
2008-03-27 | consolidate some parsing functions that were pretty much identical for ↵ | Brian | |
vertex/fragment programs | |||
2008-03-27 | when negating scalar src args, use NEGATE_XYZW, not NEGATE_X | Brian | |
This makes things easier on the back-end when generating GPU code. cherry-picked from gallium-0.1 | |||
2008-03-27 | Set param_var->param_binding_type = PROGRAM_CONSTANT | Brian | |
cherry-picked from gallium-0.1 | |||
2008-03-22 | use ctx->Driver.DeleteProgram() in a few more places | Brian | |
2008-03-17 | only set InputsRead bit if input is really used | Markus Amsler | |
2008-03-17 | mesa: Add vertex.attrib 0-15 to arb_input_attrib_string. | Markus Amsler | |
2008-03-14 | init tmpNode to zeros | Brian | |
2008-03-14 | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian | |
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs). | |||
2008-03-13 | fix state.lightprod ambient/specular w value (bug #14983) | Roland Scheidegger | |
2008-03-10 | fix parsing of state.texenv.color (bug 14931) | Brian | |
2008-03-01 | state.depth.range alpha value should be 1, not 0 (bug #14733) | Roland Scheidegger | |
2008-02-28 | mesa: separate shader program object from shader object. | Xiang, Haihao | |
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. | |||
2008-02-27 | mesa: set input read only on success | Markus Amsler | |
2008-02-20 | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | |
2008-01-31 | regenerate glsl library functions | Roland Scheidegger | |
2008-01-31 | fix w component of glsl vec4 asin | Roland Scheidegger | |
2008-01-15 | Fix the compile of disabled DEBUG_PARSING code. | Eric Anholt | |
2008-01-15 | Bug #13492: Only call ProgramStringNotify if program parsing succeeded. | Eric Anholt | |
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. | |||
2008-01-01 | Convert to 0/1 when setting boolean uniforms | Bruce Merry | |
Also add some extra tests to the shader_api regression tests | |||
2008-01-01 | Make use of count in _mesa_uniform_matrix | Bruce Merry | |
2008-01-01 | More fixes to shader_api | Bruce Merry | |
- 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 | |||
2008-01-01 | Fix several bugs relating to uniforms and attributes in GLSL API | Bruce Merry | |
- 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 | |||
2007-12-20 | return correct size from glGetActiveUniform (bug 13751) | Brian | |
2007-12-11 | make sure state token values are fully initialized | Roland Scheidegger | |
2007-12-04 | Fix gl_FrontFacing compilation problem | Brian | |
2007-11-30 | Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa | joukj | |
2007-11-29 | Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c | Brian | |
2007-11-27 | set fp->UsesKill when emitting OPCODE_KIL | Brian | |
2007-11-23 | Consolidate texture fetch code and use partial derivatives when possible. | Brian | |
2007-11-23 | Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on ↵ | Brian | |
variable array indexes. | |||
2007-11-09 | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Roland Scheidegger | |
these should be the same functions (as per spec). | |||
2007-11-01 | remove dead code in _mesa_new_program() | Brian | |
2007-10-31 | Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa | Jouk | |
2007-10-29 | disable ctx->Driver.NewProgram() call in _mesa_new_program() | Brian | |
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(). | |||
2007-10-26 | Merge branch '965-glsl' | Zou Nan hai | |
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | |||
2007-10-24 | add to git | Brian | |
2007-10-24 | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | |
Contains the normalized fragment position within a point sprite. |