summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenvprogram.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-11-01 13:16:21 -0700
committerEric Anholt <[email protected]>2011-10-18 10:54:32 -0700
commit7ec2b0d0d6b6a0f760e55ffdee0bdb385a3e900a (patch)
tree8e1bb41c346e163be51973f04b8c244352dd051c /src/mesa/main/texenvprogram.h
parent57f7978b1de40be6eb138d391c8d9f95b68cbf62 (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.h2
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