Mesa (glsl2-llvm): GLSL2->LLVM conversion code and "glslang" compiler
Luca Barbieri
lb at kemper.freedesktop.org
Thu Aug 19 18:49:17 UTC 2010
Module: Mesa
Branch: glsl2-llvm
Commit: 59726683bc9ac41276e8d5498b9241cdda0ecb92
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59726683bc9ac41276e8d5498b9241cdda0ecb92
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 5 12:20:33 2010 +0200
GLSL2->LLVM conversion code and "glslang" compiler
It should support everything except texture and derivative operations.
It seems to work.
This is right now only a proof of concept, and there is no graphics
pipeline you can use the result in.
Comments, enhancements, etc. welcome.
This can be merged into master if the GLSL2 maintainers want that.
---
src/glsl/Makefile | 17 +
src/glsl/glslang.cpp | 364 +++++++++++++++
src/glsl/ir_to_llvm.cpp | 1117 +++++++++++++++++++++++++++++++++++++++++++++++
src/glsl/ir_to_llvm.h | 9 +
4 files changed, 1507 insertions(+), 0 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=59726683bc9ac41276e8d5498b9241cdda0ecb92
More information about the mesa-commit
mailing list