summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/program.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-10-05 23:15:59 +0200
committerMarek Olšák <[email protected]>2016-02-11 16:56:28 +0100
commit906ecab450e21cc0554a39f846d374aedb72b428 (patch)
tree241a332f9edbed5d72bf782424b6ad9326c0a593 /src/compiler/glsl/program.h
parent0f235c960c8a564ff8817835716e8f377b2f5f16 (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/glsl/program.h')
-rw-r--r--src/compiler/glsl/program.h5
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);