230cc36611346ad61610d6c19404e777878d7501 |
|
09-Jan-2012 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Silence warning Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by Brian Paul <brianp@vmware.com> Reviewed-by Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/program/symbol_table.c
|
a8f52647b045b5400ebcfc58ba235599a6e9ad87 |
|
06-Dec-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
symbol_table: Add support for adding a symbol at top-level/global scope.
/external/mesa3d/src/mesa/program/symbol_table.c
|
955ceef47f2bb8b5005abf11d4a8580c71f19e1b |
|
02-Aug-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
Keep a local copy of the symbol name in the symbol table 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.
/external/mesa3d/src/mesa/program/symbol_table.c
|
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 |
|
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/master' into glsl2 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
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/program/symbol_table.c
|