diff options
author | Eric Anholt <[email protected]> | 2010-08-10 20:11:44 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-13 17:54:42 -0700 |
commit | d19eecef54384c163af27a470496ed885a5a271b (patch) | |
tree | 350937a634dbf44545781b2618544d8b94668327 /src/mesa/program/ir_to_mesa.h | |
parent | 013bbbbb0ac52a12d1e4413700dc40dee70186f8 (diff) |
glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks.
This lets drivers override ir_to_mesa with their own codegen, or at
least have a native alternative.
Diffstat (limited to 'src/mesa/program/ir_to_mesa.h')
-rw-r--r-- | src/mesa/program/ir_to_mesa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h index e832f84e754..ecaacde4bb0 100644 --- a/src/mesa/program/ir_to_mesa.h +++ b/src/mesa/program/ir_to_mesa.h @@ -30,6 +30,8 @@ extern "C" { void _mesa_glsl_compile_shader(GLcontext *ctx, struct gl_shader *sh); void _mesa_glsl_link_shader(GLcontext *ctx, struct gl_shader_program *prog); +GLboolean _mesa_ir_compile_shader(GLcontext *ctx, struct gl_shader *shader); +GLboolean _mesa_ir_link_shader(GLcontext *ctx, struct gl_shader_program *prog); #ifdef __cplusplus } |