diff options
author | Eric Anholt <[email protected]> | 2010-11-01 13:16:21 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-03-11 12:55:14 -0800 |
commit | 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5 (patch) | |
tree | f88d21cc6c40d4397cf5e949357d096fcb8c3329 /src/mesa/main/texenvprogram.h | |
parent | 29e013e58be93aa6ed760393cf77ef34ca1d57c0 (diff) |
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.
Diffstat (limited to 'src/mesa/main/texenvprogram.h')
-rw-r--r-- | src/mesa/main/texenvprogram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.h b/src/mesa/main/texenvprogram.h index 22e30a51943..3d9cb85460f 100644 --- a/src/mesa/main/texenvprogram.h +++ b/src/mesa/main/texenvprogram.h @@ -29,7 +29,7 @@ struct gl_context; -extern struct gl_fragment_program * +extern struct gl_shader_program * _mesa_get_fixed_func_fragment_program(struct gl_context *ctx); #endif |