Module: Mesa Branch: master Commit: 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cb87dffce2c7a37f960f3a865cf92fd193dd8c5
Author: Eric Anholt <[email protected]> Date: Mon Nov 1 13:16:21 2010 -0700 mesa: Convert fixed function fragment program generator to GLSL IR. This is a step towards providing a direct route for drivers accepting GLSL IR for codegen. Perhaps more importantly, it runs the fixed function fragment program through the GLSL IR optimization. Having seen how easy it is to make ugly fixed function texenv code that can do unnecessary work, this may improve real applicatinos. --- src/mesa/main/ff_fragment_shader.cpp | 1435 ++++++++++++++++------------------ src/mesa/main/state.c | 12 +- src/mesa/main/texenvprogram.h | 2 +- src/mesa/program/program.c | 2 +- 4 files changed, 668 insertions(+), 783 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=7cb87dffce2c7a37f960f3a865cf92fd193dd8c5 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
