Mesa (master): glsl: Autogenerate builtin_functions. cpp as part of the build process.
Kenneth Graunke
kwg at kemper.freedesktop.org
Tue Jan 11 03:03:44 UTC 2011
Module: Mesa
Branch: master
Commit: 33d0c44910860e0522bd56a0f8637a69e0c4a456
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33d0c44910860e0522bd56a0f8637a69e0c4a456
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Jan 7 14:30:14 2011 -0800
glsl: Autogenerate builtin_functions.cpp as part of the build process.
Python is already necessary for other parts of Mesa, so there's no
reason we can't just generate it. This patch updates both make and
SCons to do so.
---
src/glsl/.gitignore | 1 +
src/glsl/Makefile | 19 +-
src/glsl/SConscript | 24 +-
src/glsl/builtin_function.cpp |13637 --------------------
.../builtin_function.cpp => builtin_stubs.cpp} | 0
src/glsl/builtins/tools/generate_builtins.py | 11 +-
6 files changed, 40 insertions(+), 13652 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=33d0c44910860e0522bd56a0f8637a69e0c4a456
More information about the mesa-commit
mailing list