Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Silence warning | Jakob Bornecrantz | 2012-01-10 | 1 | -0/+1 |
| | | | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> Reviewed-by Brian Paul <[email protected]> Reviewed-by Ian Romanick <[email protected]> | ||||
* | symbol_table: Add support for adding a symbol at top-level/global scope. | Kenneth Graunke | 2010-12-06 | 1 | -5/+80 |
| | |||||
* | Keep a local copy of the symbol name in the symbol table | Ian Romanick | 2010-08-02 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | The symbol_header structure that tracks symbols with a particular name may have a different (longer) life time than the symbols it tracks. Not keeping a local copy of the name can lead to use-after-free errors. For example, the following sequence would trigger such an error: char *copy = strdup(name); _mesa_symbol_table_push_scope(st); _mesa_symbol_table_add_symbol(st, 0, name, NULL); _mesa_symbol_table_pop_scope(st); free(name); _mesa_symbol_table_find_symbol(st, 0, copy); With this change, the symbol table keeps a local copy of the name that has the same life time as the symbol_header for that name. This resolves some use-after-free errors with built-in functions in the GLSL compiler. | ||||
* | Merge remote branch 'origin/master' into glsl2 | Eric Anholt | 2010-07-26 | 1 | -1/+51 |
| | | | | | | | | | | | This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h | ||||
* | mesa: rename src/mesa/shader/ to src/mesa/program/ | Brian Paul | 2010-06-10 | 1 | -0/+362 |