diff options
author | Marek Olšák <[email protected]> | 2015-10-05 23:15:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-11 16:56:28 +0100 |
commit | 906ecab450e21cc0554a39f846d374aedb72b428 (patch) | |
tree | 241a332f9edbed5d72bf782424b6ad9326c0a593 /src/compiler | |
parent | 0f235c960c8a564ff8817835716e8f377b2f5f16 (diff) |
mesa: call build_program_resource_list inside Driver.LinkShader
to allow LinkShader to free the GLSL IR.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/program.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/glsl/program.h b/src/compiler/glsl/program.h index 64f54635f62..31bb9aa2435 100644 --- a/src/compiler/glsl/program.h +++ b/src/compiler/glsl/program.h @@ -22,12 +22,15 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include "main/core.h" #ifdef __cplusplus extern "C" { #endif +struct gl_context; +struct gl_shader; +struct gl_shader_program; + extern void _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader, bool dump_ast, bool dump_hir); |