Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-18 | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | |
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | |||
2008-09-16 | mesa: rework GLSL vertex attribute binding | Brian Paul | |
Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings. | |||
2008-09-16 | mesa: rework GLSL vertex attribute binding | Brian Paul | |
Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings. | |||
2008-09-16 | mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rows | Brian Paul | |
2008-08-11 | mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079 | Brian Paul | |
2008-08-11 | mesa: glsl: add missing sampler types in sizeof_glsl_type(), bug 17079 | Brian Paul | |
2008-08-07 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-08-06 | mesa: glsl: fix a number of glUniform issues | Brian Paul | |
Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1. | |||
2008-08-06 | mesa: glsl: fix glGetUniform for matrix queries | Brian Paul | |
2008-08-06 | mesa: glsl: fix error check in get_uniformfv() | Brian Paul | |
2008-07-29 | mesa: Silence compiler warnings on Windows. | Brian Paul | |
2008-07-29 | mesa: fix issues causing warnings on Windows | Brian Paul | |
2008-07-29 | mesa: glsl: only try to link shaders defining main() | Brian Paul | |
2008-07-29 | mesa: remove stray debug assertion | Brian Paul | |
2008-07-29 | mesa: fix glUniform error checking for samplers | Brian | |
2008-07-29 | mesa: fix some issues in _mesa_validate_program() | Brian Paul | |
2008-07-29 | mesa: assorted glsl uniform/attribute fixes | Brian Paul | |
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error. | |||
2008-07-29 | mesa: fix set_program_uniform_matrix(): need to loop over matrix count | Brian Paul | |
2008-07-25 | mesa: fix issues causing warnings on Windows | Brian Paul | |
2008-07-25 | mesa: Mark as XXX unresolved warnings on windows. | Michal Krol | |
2008-07-24 | mesa: glsl: only try to link shaders defining main() | Brian Paul | |
2008-07-24 | mesa: Prefix main includes with dir to avoid conflicts. | José Fonseca | |
Some of the headers in src/mesa/main have pretty common names which easily conflict with third-party code, e.g. config.h | |||
2008-07-22 | mesa: remove stray debug assertion | Brian Paul | |
2008-07-21 | mesa: fix glUniform error checking for samplers | Brian | |
2008-07-21 | mesa: fix some issues in _mesa_validate_program() | Brian Paul | |
2008-07-21 | mesa: assorted glsl uniform/attribute fixes | Brian Paul | |
Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error. | |||
2008-07-18 | mesa: fix set_program_uniform_matrix(): need to loop over matrix count | Brian Paul | |
2008-07-15 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-07-08 | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | |
The old implementation could overwrite the caller's param buffer. | |||
2008-07-08 | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | |
The old implementation could overwrite the caller's param buffer. | |||
2008-07-04 | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | |
program isn't linked | |||
2008-07-04 | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | |
program isn't linked | |||
2008-07-03 | mesa: fix various error codes | Brian Paul | |
2008-07-03 | mesa: fix various error codes | Brian Paul | |
2008-07-03 | mesa: additional error checking, fix error codes | Brian Paul | |
2008-07-02 | mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source() | Brian Paul | |
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master | |||
2008-07-02 | mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source() | Brian Paul | |
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... | |||
2008-06-28 | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | |
2008-06-28 | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | |
2008-06-24 | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | |
2008-05-31 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
2008-05-18 | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian Paul | |
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c cherry-picked from gallium-0.1 | |||
2008-05-16 | bring in fixes/changes from master | Brian Paul | |
2008-05-16 | bring in fixes/changes from gallium-0.1 | Brian Paul | |
2008-05-16 | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | |
The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled. | |||
2008-05-16 | silence warning, new assertion | Brian Paul | |
2008-05-16 | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | |
The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled. | |||
2008-05-14 | mesa: fix InfoLog memleak, misc sync with master | Brian Paul | |
2008-05-14 | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | |
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | |||
2008-05-14 | mesa: glUniform(location==-1) is not an error | Brian Paul | |